CVE-2026-6993: V2 · Kratos has a Confused Deputy issue
Affects github.com/go-kratos/kratos/v2Source GCVE Database
Public exploit available · CVSS 6.9 Medium.
Data as of 27 Oct 2026, 01:49 UTC
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:PExploitation evidence
Disclosed: evidence found.
CVE published 25 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/go-kratos/kratos/v2 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patch identified by commit 0284a5bcf92b5a7ee015300ce3051baf7ae4718d to versions up to 2.9.2 of go-kratos kratos. This patch resolves the confused deputy issue in the NewServer function. No other mitigation or workaround is indicated by the vendor advisory.
Description
A vulnerability (CVE-2026-6993) exists in go-kratos kratos versions up to 2.9.2 affecting the NewServer function in transport/http/server.go. This flaw involves the http.DefaultServeMux fallback handler and results in a confused deputy issue, allowing unintended intermediary behavior. The vulnerability can be exploited remotely without authentication. Public exploit code is available. A patch identified by commit 0284a5bcf92b5a7ee015300ce3051baf7ae4718d addresses the issue.
References
- nvd.nist.gov/vuln/detail/CVE-2026-6993 (opens in a new tab)
- github.com/go-kratos/kratos/issues/3810 (opens in a new tab)
- github.com/go-kratos/kratos/pull/3814 (opens in a new tab)
- github.com/Yanhu007/kratos/commit/0284a5bcf92b5a7ee015300ce3051baf7ae4718d (opens in a new tab)
- github.com/go-kratos/kratos (opens in a new tab)
- vuldb.com/submit/797099 (opens in a new tab)
- vuldb.com/vuln/359545 (opens in a new tab)
- vuldb.com/vuln/359545/cti (opens in a new tab)