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

Medium 6.9 Published Updated

A confused deputy vulnerability in go-kratos allows remote attackers to bypass intended security controls via the HTTP server fallback handler.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-6993?

CVE-2026-6993 is a medium-severity vulnerability in go-kratos kratos, published on 25 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-441

Which versions are affected by CVE-2026-6993?

3 open source packages ship an affected version, including github.com/go-kratos/kratos/v2.

PackageAffectedFixed in
github.com/go-kratos/kratos/v2 GoAll versionsNone
github.com/go-kratos/kratos/v2 GoAll versions to 2.9.2None
github.com/go-kratos/kratos/v2 GoAll versions to 2.9.2None

How do I fix CVE-2026-6993?

Apply the vendor's patch.

Is CVE-2026-6993 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-6993 exists.

Sources

Also known as GHSA-jj45-xvq5-rhh9, GO-2026-5471.

Is CVE-2026-6993 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free