8.6

CVE-2026-40912: Traefik: StripPrefixRegex auth bypass via Path/RawPath desync

Modified
AliasesGHSA-6jwx-7vp4-9847GO-2026-5180CGA-7wg9-vg4g-8h92
Published 30-04-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-40912 is a high (CVSS 8.6) vulnerability in traefik. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 55.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.6/10
010
High · v3.1 (CVE.org)
EPSS score
0.77%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 30-04-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.77%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.72% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Traefik

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • traefik-3.5All versions (No fix recorded)
  • traefik-fips-3.5All versions (No fix recorded)
Github.com/traefik/traefik2 products
  • v2< 2.11.43
  • v3≥ 3.0.0-beta1, < 3.6.14 | ≥ 3.7.0-ea.1, < 3.7.0-rc.2
Github.com/traefik1 product
  • traefik≤ 1.7.34 | All versions (No fix recorded)
Traefik1 product
  • traefik≥ 3.0.0-beta1, < 3.6.14 | ≥ 3.7.0-ea.1, < 3.7.0-rc.2 | < 2.11.43 | ≥ 3.0.0, < 3.6.14 | 3.7.0:ea1 | 3.7.0:ea2 | 3.7.0:ea3 | 3.7.0:rc1

4 vendors · 6 products

References

11 links
Show all 11 references