# CVE-2026-6993: go-kratos http.DefaultServeMux Fallback server.go NewServer confused deputy

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.56% (percentile 40, 2026-11-26)
- **CWE:** CWE-441
- **Aliases:** GHSA-jj45-xvq5-rhh9, GO-2026-5471
- **Published:** 2026-04-25T18:30:16.160Z
- **Modified:** 2026-10-26T22:10:00.163Z

## Who should check

- Projects that depend on Go package github.com/go-kratos/kratos/v2 (\<= 2.9.2)
- Anyone running go-kratos kratos 2.9.0; 2.9.1; 2.9.2

## 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.

## Affected and fixed versions

- Go `github.com/go-kratos/kratos/v2`: affected \<= 2.9.2; fixed no fix listed yet (osv)
- go-kratos kratos: 2.9.0; 2.9.1; 2.9.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-6993. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-6993.md
Affected: github.com/go-kratos/kratos/v2 <= 2.9.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for github.com/go-kratos/kratos/v2 (Go), go-kratos kratos: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-6993 being exploited?

There is no confirmed exploitation: CVE-2026-6993 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-6993?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-6993?

github.com/go-kratos/kratos/v2 \<= 2.9.2.

### Is there a fix for CVE-2026-6993?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-6993?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-6993>
- vendor: <https://github.com/advisories/GHSA-jj45-xvq5-rhh9>
- patch: <https://github.com/go-kratos/kratos/pull/3814>
- patch: <https://github.com/Yanhu007/kratos/commit/0284a5bcf92b5a7ee015300ce3051baf7ae4718d>
- exploit: <https://github.com/go-kratos/kratos/issues/3810>
- article: <https://vuldb.com/vuln/359545>
- other: <https://vuldb.com/vuln/359545/cti>
- other: <https://vuldb.com/submit/797099>
- other: <https://github.com/go-kratos/kratos/>
- other: <https://github.com/go-kratos/kratos>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-6993>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jj45-xvq5-rhh9> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5471> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-6993> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-6993>
