GHSA-6jwx-7vp4-9847 · Severity: high · Ecosystem: go — Traefik has an StripPrefixRegex Middleware Authorization Bypass via Path/RawPath Desync
Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a high severity authentication bypass vulnerability in Traefik's StripPrefixRegex middleware when used in combination with ForwardAuth, BasicAuth, or DigestAuth. The middleware matches the regex against the decoded URL path but uses the resulting byte length to slice the percent-encoded raw path. When a dot (or multiple dots) appears in the prefix portion of the URL, the raw path after stripping becomes a dot-segment (e.g. /./admin/secret). ForwardAuth receives this dot-segment path in X-Forwarded-Uri, which does not match the protected path patterns and therefore allows the request through. The backend then normalizes the dot-segment to the real path per RFC 3986 and serves the protected content An unauthenticated attacker can exploit this against any backend that performs dot-segment normalization. This issue has been patched in versions 2.11.43, 3.6.14, and 3.7.0-rc.2.
Conclusion & alert: CVE-2026-40912 is rated High Exploit Risk (61.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.57%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.06% | 0.57% | +0.51% |
| 2 | 2026-05-02 | 0.05% | 0.06% | +0.01% |
| 3 | 2026-05-01 | — | 0.05% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.8 | 4.0 | HIGH |
|
— | — | [email protected] |
| 8.2 | 3.1 | HIGH |
|
3.9 | 4.2 | [email protected] |
GHSA-6jwx-7vp4-9847 · Severity: high · Ecosystem: go — Traefik has an StripPrefixRegex Middleware Authorization Bypass via Path/RawPath Desync
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| traefik | traefik | < 2.11.43 | cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:* |
| traefik | traefik | >= 3.0.0, < 3.6.14 | cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:* |
| traefik | traefik | 3.7.0 | cpe:2.3:a:traefik:traefik:3.7.0:ea1:*:*:*:*:*:* |
| traefik | traefik | 3.7.0 | cpe:2.3:a:traefik:traefik:3.7.0:ea2:*:*:*:*:*:* |
| traefik | traefik | 3.7.0 | cpe:2.3:a:traefik:traefik:3.7.0:ea3:*:*:*:*:*:* |
| traefik | traefik | 3.7.0 | cpe:2.3:a:traefik:traefik:3.7.0:rc1:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/traefik/traefik/releases/tag/v2.11.43 | Product Release Notes |
| https://github.com/traefik/traefik/releases/tag/v3.6.14 | Product Release Notes |
| https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2 | Product Release Notes |
| https://github.com/traefik/traefik/security/advisories/GHSA-6jwx-7vp4-9847 | Exploit Patch Vendor Advisory |