Vulnerability · Published Apr 25, 2026 · Assigned by VulDB

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

Medium 5.3

In plain English

A medium-severity security flaw in kratos from go-kratos. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 75.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/go-kratos/kratos/v2no fix listedGHSA-jj45-xvq5-rhh9
Gogithub.com/go-kratos/kratos/v2no fix listedGO-2026-5471

Affected products (as reported)

VendorProductVersions
go-kratos kratos 2.9.02.9.12.9.2

Weakness: CWE-441 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C

References