Cyber Resilience

CVE-2026-40912

Path Traversal in Traefik ≤ 2.11.43

Public PoCPath Traversal
Published
30 April 2026
Modified
15 July 2026
Patch / advisory
CVSS Score v4 7.8
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0077 52th percentile
Risk Priority 44 floored blend · peak EPSS

Summary

CVE-2026-40912 is a high-severity Use of Incorrectly-Resolved Name or Reference (CWE-706) vulnerability in Traefik Traefik. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Path Interception (T1034); ranked in the top 48% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-40912 is a high-severity authentication bypass vulnerability (CVSS 3.1 score of 8.2) affecting Traefik, an HTTP reverse proxy and load balancer. The issue resides in the StripPrefixRegex middleware when combined with ForwardAuth, BasicAuth, or DigestAuth, impacting versions prior to 2.11.43, 3.6.14, and 3.7.0-rc.2. Specifically, the middleware applies regex matching against the decoded URL path but uses the resulting byte length to slice the percent-encoded raw path. If a dot (or multiple dots) appears in the URL prefix, the stripped raw path becomes a dot-segment (e.g., /./admin/secret) per RFC 3986, which evades protection mechanisms.

An unauthenticated network attacker (AV:N/AC:L/PR:N) can exploit this by crafting a request with dots in the prefix portion of a protected URL path. The dot-segment path is forwarded in the X-Forwarded-Uri header to ForwardAuth, which fails to match it against protected patterns, allowing the request to proceed. The backend then normalizes the dot-segment to the actual protected path, resulting in unauthorized access to sensitive content (C:H/I:L/A:N). This works against any backend performing dot-segment normalization as defined in RFC 3986.

Traefik has addressed the vulnerability in patched releases: version 2.11.43, 3.6.14, and 3.7.0-rc.2. Security practitioners should upgrade immediately to these versions, as detailed in the official GitHub release notes and security advisory (GHSA-6jwx-7vp4-9847). The issue is linked to CWE-706 (Use of Incorrectly-Resolved Name Into a Reference Chain).

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1034 Path Interception Persistence
**This technique has been deprecated.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1574.008 Path Interception by Search Order Hijacking Stealth
Adversaries may execute their own malicious payloads by hijacking the search order used to load other programs.
T1036 Masquerading Stealth
Adversaries may attempt to manipulate features of their artifacts to make them appear legitimate or benign to users and/or security tools.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-47952Same product: Traefik Traefik
CVE-2025-32431Same product: Traefik Traefik
CVE-2025-54386Same product: Traefik Traefik
CVE-2024-47877Shared CWE-22
CVE-2024-54148Shared CWE-22
CVE-2023-37460Shared CWE-22
CVE-2025-59343Shared CWE-22
CVE-2026-42275Shared CWE-22
CVE-2025-59825Shared CWE-22
CVE-2025-21048Shared CWE-22

Affected Assets

traefik
traefik
3.7.0 · ≤ 2.11.43 · 3.0.0 — 3.6.14

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2

Mitigating Controls (NIST 800-53 r5) AI

Enforces the intended directory access authorizations that path traversal would otherwise bypass.

Input validation directly neutralizes special path elements before pathname construction occurs.

Information flow enforcement can constrain flows that result from an incorrectly resolved name or reference.

Least privilege reduces the impact of any unauthorized file access obtained via traversal.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure-development practices directly prevent incorrect name/reference resolution bugs during coding.

PR.AA-05 partial match
prevents

Enforced authorization boundaries limit damage from an incorrectly resolved reference.

PR.IR-01 partial match
prevents

Logical segmentation and access controls reduce the chance an out-of-sphere resolution succeeds.

PR.PS-01 partial match
prevents

Hardened configuration baselines can constrain allowable name-to-resource mappings.

PR.PS-02 partial match
prevents

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect incorrect name or reference resolution through fuzzing and negative test cases.

degrades

Network segmentation and routing policies reduce the chance that a mis-resolved name leads to an unintended external resource.

degrades

Segregated networks limit the blast radius when a name or reference resolves outside the intended control sphere.

prevents

Secure SDLC practices include design reviews that can catch incorrect name or reference handling before deployment.

prevents

Application security requirements can mandate validation of all external references and names used at runtime.

prevents

Secure architecture principles discourage reliance on ambient or globally-resolvable names without explicit scoping.

References