Security mailing lists by PureSourceCode

CVE-2026-40912

HIGH 7.8CVSS 4.0

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.

Published
30 Apr 2026
Last modified
23 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22CWE-706
Also known as
GHSA-6jwx-7vp4-9847GO-2026-5180
Sources
NVDJSONOSV GHSA-6jwx-7vp4-9847JSONOSV GO-2026-5180JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD traefik traefik
cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:*
< 2.11.43 2.11.43
NVD traefik traefik
cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.6.14 3.6.14
NVD traefik traefik
cpe:2.3:a:traefik:traefik:3.7.0:ea1:*:*:*:*:*:*
= 3.7.0
NVD traefik traefik
cpe:2.3:a:traefik:traefik:3.7.0:ea2:*:*:*:*:*:*
= 3.7.0
NVD traefik traefik
cpe:2.3:a:traefik:traefik:3.7.0:ea3:*:*:*:*:*:*
= 3.7.0
NVD traefik traefik
cpe:2.3:a:traefik:traefik:3.7.0:rc1:*:*:*:*:*:*
= 3.7.0
OSV Go github.com/traefik/traefik/v3 >= 3.7.0-ea.1, < 3.7.0-rc.2 3.7.0-rc.2
OSV Go github.com/traefik/traefik/v3 >= 3.0.0-beta1, < 3.6.14 3.6.14
OSV Go github.com/traefik/traefik/v2 < 2.11.43 2.11.43
OSV Go github.com/traefik/traefik <= 1.7.34
OSV Go github.com/traefik/traefik all versions
OSV Go github.com/traefik/traefik/v3 < 3.6.14; >= 3.7.0-ea.1, < 3.7.0-rc.2 3.6.14, 3.7.0-rc.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 30 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.