CVE-2026-40912: Traefik is an HTTP reverse proxy and load balancer.
High CVSS 8.2
- CVE id
- CVE-2026-40912
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Traefik Runtimes and servers |
< 2.11.43 >= 3.0.0, < 3.6.14 |
2.11.43, 3.6.14 |
How to fix it
Upgrade Traefik to the fixed release of the line you run: 2.11.43, 3.6.14.
traefik version
- Upgrade Traefik (the traefik image tag or its Helm chart) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2026-40912 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-40912
- Web: https://github.com/traefik/traefik/releases/tag/v2.11.43
- Web: https://github.com/traefik/traefik/releases/tag/v3.6.14
- Web: https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2
- Web: https://github.com/traefik/traefik/security/advisories/GHSA-6jwx-7vp4-9847
- Web: https://access.redhat.com/errata/RHSA-2026:21772
- Web: https://access.redhat.com/security/cve/CVE-2026-40912
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=2464229
- Web: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40912.json
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.