Description
A security flaw has been discovered in go-kratos kratos up to 2.9.2. This impacts the function NewServer of the file transport/http/server.go of the component http.DefaultServeMux Fallback Handler. The manipulation results in unintended intermediary. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. The patch is identified as 0284a5bcf92b5a7ee015300ce3051baf7ae4718d. Applying a patch is advised to resolve this issue.
Problem types
Product status
2.9.1
2.9.2
Timeline
| 2026-04-24: | Advisory disclosed |
| 2026-04-24: | VulDB entry created |
| 2026-04-24: | VulDB entry last update |
Credits
Yu_Bao (VulDB User)
References
vuldb.com/vuln/359545 (VDB-359545 | go-kratos http.DefaultServeMux Fallback server.go NewServer confused deputy)
vuldb.com/vuln/359545/cti (VDB-359545 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/submit/797099 (Submit #797099 | go-kratos kratos 2.9.2 Unintended Route Exposure via DefaultServeMux Fallback)
github.com/go-kratos/kratos/issues/3810
github.com/go-kratos/kratos/pull/3814
github.com/...ommit/0284a5bcf92b5a7ee015300ce3051baf7ae4718d
github.com/go-kratos/kratos/