Live threats

All CVEs / Traefik

CVE-2026-40912Traefik

High 7.8 No auth needed

Priority
62
CVSS 4.0
7.8
EPSS
—
Auth required
No
Published
Apr 30, 2026
Updated
Nov 11, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-706, CWE-22
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Traefik.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
traefiktraefik< 2.11.43
traefiktraefik≥ 3.0.0 < 3.6.14
traefiktraefik3.7.0
traefiktraefik3.7.0
traefiktraefik3.7.0
traefiktraefik3.7.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.