Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-40912

github.com/traefik/traefik: Traefik: Authentication bypass via crafted URL dot-segments in StripPrefixRegex middleware

Overview

Published
30 Apr 2026
Modified
11 Nov 2026
High CVE
3 Registry packages
4 OS packages
2 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.2 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Weakness: CWE-706, CWE-22

Affected packages · 3

Packages affected by CVE-2026-40912
EcosystemPackageVulnerableFixed in
Go github.com/traefik/traefik <=1.7.34 No fix yet
Go github.com/traefik/traefik/v2 <2.11.43 2.11.43
Go github.com/traefik/traefik/v3 >=3.7.0-ea.1, <3.7.0-rc.2>=3.0.0-beta1, <3.6.14 3.7.0-rc.23.6.14

Open a package to see all its vulnerabilities.

Operating systems · 3 fixes

minimos 1 release · 1 package

fixed 1
traefik-3
minimos fixes for CVE-2026-40912
ReleasePackageFixed in
traefik-3 +1 3.6.14-r0

openSUSE 1 release · 2 packages

fixed 2
traefik2 traefik
openSUSE fixes for CVE-2026-40912
ReleasePackageFixed inAdvisory
Tumbleweed traefik2 2.11.44-1.1 openSUSE-SU-2026:10698-1
Tumbleweed traefik 3.6.15-1.1 openSUSE-SU-2026:10697-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.