Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-40912— Traefik: StripPrefixRegex auth bypass via Path/RawPath desync

EPSS 0.07% · P21
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-40912

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Traefik: StripPrefixRegex auth bypass via Path/RawPath desync
Source: NVD (National Vulnerability Database)
Vulnerability 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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
使用不正确的解析名称或索引
Source: NVD (National Vulnerability Database)
Vulnerability Title
Traefik 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Traefik是Traefik开源的一款反向代理与负载均衡工具。 Traefik 2.11.43之前版本、3.6.14之前版本和3.7.0-rc.2之前版本存在安全漏洞,该漏洞源于StripPrefixRegex中间件与ForwardAuth、BasicAuth或DigestAuth结合使用时,正则表达式匹配解码URL路径但使用结果字节长度切片百分编码原始路径,可能导致未经身份验证的攻击者绕过身份验证。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
traefiktraefik < 2.11.43 -

II. Public POCs for CVE-2026-40912

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40912

登录查看更多情报信息。

Same Patch Batch · traefik · 2026-04-30 · 5 CVEs total

CVE-2026-41263Traefik: BasicAuth middleware: timing side-channel vulnerability
CVE-2026-41174Traefik Kubernetes CRD allows unauthorized cross-namespace middleware binding
CVE-2026-35051Traefik: ForwardAuth trustForwardHeader=false allows spoofed X-Forwarded-Prefix to bypass
CVE-2026-39858Traefik: Forwarded alias spoofing top pre-auth decision bypass

IV. Related Vulnerabilities

V. Comments for CVE-2026-40912

No comments yet


Leave a comment