جزئیات آسیبپذیری
CVE-2026-40912
Traefik: StripPrefixRegex auth bypass via Path/RawPath desync
شرح رسمی (انگلیسی)
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.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 7.8بالا | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | 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 |
| 8.6بالا | 3.1 | CVEProject cvelistV5 (CNA) (redhat-SADP) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| traefik | traefik | < 2.11.43 | CVEProject cvelistV5 (CNA) |
| traefik | traefik | >= 3.0.0-beta1, < 3.6.14 | CVEProject cvelistV5 (CNA) |
| traefik | traefik | >= 3.7.0-ea.1, < 3.7.0-rc.2 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۸- https://github.com/traefik/traefik/security/advisories/GHSA-6jwx-7vp4-9847 x_refsource_CONFIRM
- https://github.com/traefik/traefik/releases/tag/v2.11.43 x_refsource_MISC
- https://github.com/traefik/traefik/releases/tag/v3.6.14 x_refsource_MISC
- https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-40912 vdb-entryx_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2464229 issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40912.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:21772 vendor-advisoryx_refsource_REDHAT
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۲/۱۱
- آخرین بهروزرسانی
- ۱۴۰۵/۰۴/۲۴
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- بله
- وضعیت بهرهبرداری
- ندارد
- اثر فنی
- جزئی
ضعفها (CWE)
- CWE-706Use of Incorrectly-Resolved Name or Reference
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')