CVE-2026-6993: Kratos has a Confused Deputy issue
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.
Published Apr 25, 2026 · Updated May 5, 2026
Affected packages
github.com/go-kratos/kratos/v2
- Ecosystem
- Go
- Affected
- <= 2.9.2
- Fixed in
- No patched version yet
- Check
go list -m github.com/go-kratos/kratos/v2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6993
- https://github.com/go-kratos/kratos/issues/3810
- https://github.com/go-kratos/kratos/pull/3814
- https://github.com/Yanhu007/kratos/commit/0284a5bcf92b5a7ee015300ce3051baf7ae4718d
- https://github.com/go-kratos/kratos
- https://vuldb.com/submit/797099
- https://vuldb.com/vuln/359545
- https://vuldb.com/vuln/359545/cti
- https://github.com/advisories/GHSA-jj45-xvq5-rhh9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
