go-kratos/kratos · Security
Kratos has a Confused Deputy issue
- GHSA ID
- GHSA-jj45-xvq5-rhh9
- CVE ID
- CVE-2026-6993
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v4
- 5.5 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
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.
CWEs
- CWE-441 · Unintended Proxy or Intermediary ('Confused Deputy')
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 ↗