CVE-2026-40912Traefik
High 7.8 No auth needed
Follow: this CVE · Traefik · Traefik We alert you by email or Slack (account required).
- Priority
- 62
- CVSS 4.0
- 7.8
- EPSS
- —
- Auth required
- No
- Published
- Apr 30, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Traefik.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/traefik/traefik |
≤ 1.7.34 |
no fixed version | — |
| Go | github.com/traefik/traefik |
all |
no fixed version | — |
| Go | github.com/traefik/traefik/v2 |
< 2.11.43 |
2.11.43 |
go get github.com/traefik/traefik/v2@v2.11.43 |
| Go | github.com/traefik/traefik/v2 |
< 2.11.43 |
2.11.43 |
go get github.com/traefik/traefik/v2@v2.11.43 |
| Go | github.com/traefik/traefik/v3 |
≥ 3.7.0-ea.1 < 3.7.0-rc.2 |
3.7.0-rc.2 |
go get github.com/traefik/traefik/v3@v3.7.0-rc.2 |
| Go | github.com/traefik/traefik/v3 |
≥ 3.0.0-beta1 < 3.6.14 |
3.6.14 |
go get github.com/traefik/traefik/v3@v3.6.14 |
| Go | github.com/traefik/traefik/v3 |
< 3.6.14 |
3.6.14 |
go get github.com/traefik/traefik/v3@v3.6.14 |
| Go | github.com/traefik/traefik/v3 |
≥ 3.7.0-ea.1 < 3.7.0-rc.2 |
3.7.0-rc.2 |
go get github.com/traefik/traefik/v3@v3.7.0-rc.2 |
Per OSV / GitHub Advisories (GHSA-6jwx-7vp4-9847, GO-2026-5180). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| traefik | traefik | < 2.11.43 |
| traefik | traefik | ≥ 3.0.0 < 3.6.14 |
| traefik | traefik | 3.7.0 |
| traefik | traefik | 3.7.0 |
| traefik | traefik | 3.7.0 |
| traefik | traefik | 3.7.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- traefik-3.6.15-1.1 on GA media · SUSE · openSUSE-SU-2026:10697-1 · May 5, 2026 High
- traefik2-2.11.44-1.1 on GA media · SUSE · openSUSE-SU-2026:10698-1 · May 5, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Product Release Notes
- github.com Product Release Notes
- github.com Product Release Notes
- github.com Exploit Patch Vendor Advisory
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com