CVE-2026-40912

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.

Severity
HIGH
CVSS v3
8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N · source nvd
CVSS v4
7.8
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N · source cna
Exploit chance (EPSS)
0.767%
chance of exploitation in the next 30 days
higher than 56.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impactpartial
Scored2026-05-01

Timeline

  1. 2026-04-24GitHub advisory published (GHSA-6jwx-7vp4-9847)6 days before publication
  2. 2026-04-30Published by the CNA20:38 UTC
  3. 2026-05-01CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-6jwx-7vp4-9847, affected packages:

PackageVulnerable versionsFixed in
Go github.com/traefik/traefikthrough 1.7.34
Go github.com/traefik/traefik/v2before 2.11.432.11.43
Go github.com/traefik/traefik/v3from 3.0.0-beta1 before 3.6.143.6.14
Go github.com/traefik/traefik/v3from 3.7.0-ea.1 before 3.7.0-rc.23.7.0-rc.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
traefik traefikbefore 2.11.43fixed in 2.11.43from 3.0.0 before 3.6.14fixed in 3.6.143.7.0no fix listed2.11.433.6.14not listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources