CVE-2026-6993 Details
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.
A vulnerability exists in go-kratos kratos versions through 2.9.2, where the HTTP server's fallback handler for unmatched routes and disallowed methods can unintentionally expose debug profiling endpoints. This occurs because the server uses http.DefaultServeMux, a global shared instance that may contain handlers registered by other packages, such as net/http/pprof', which adds unprotected debug routes. As a result, an unauthenticated remote attacker could access sensitive profiling data or disrupt service by exploiting the exposed endpoints.
Users can manually override the default NotFoundHandler and MethodNotAllowedHandler to return proper HTTP error responses. Instructions for applying this workaround can be found in the Kratos documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 25, 2026CISA-ADP
Assessed Apr 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/go-kratos/kratos/ | [email protected] | ProductVendor |
| https://github.com/go-kratos/kratos/issues/3810 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/go-kratos/kratos/pull/3814 | [email protected] | Issue TrackingVendor |
| https://github.com/Yanhu007/kratos/commit/0284a5bcf92b5a7ee015300ce3051baf7ae4718d | [email protected] | Source CodeVendor |
| https://vuldb.com/submit/797099 | [email protected] | Technical Description |
| https://vuldb.com/vuln/359545 | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/vuln/359545/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-441 | Unintended Proxy or Intermediary ('Confused Deputy') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| go-kratos kratos | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 25, 2026 | New CVE Received | [email protected] |
Volerion