Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-40912

published high CVSS 4.0 · 7.8

Traefik: StripPrefixRegex auth bypass via Path/RawPath desync

Published
30 Apr 2026, 20:38:21 UTC
Updated
15 Jul 2026, 01:00:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
traefik — traefik< 2.11.43 · >= 3.0.0-beta1, < 3.6.14 · >= 3.7.0-ea.1, < 3.7.0-rc.2 Affected Not stated GitHub_M
Red Hat — devspaces/traefik-rhel9Red Hat OpenShift Dev Spaces 3.28 · 1779786779 and later · Other versions: affected Unaffected Not stated redhat-SADP
SUSE / openSUSE openSUSE-Tumbleweed traefikaarch64 Advisory build 3.6.15-1.1 OPENSUSE-SU-2026:10697-1
SUSE / openSUSE openSUSE-Tumbleweed traefikppc64le Advisory build 3.6.15-1.1 OPENSUSE-SU-2026:10697-1
SUSE / openSUSE openSUSE-Tumbleweed traefiks390x Advisory build 3.6.15-1.1 OPENSUSE-SU-2026:10697-1
SUSE / openSUSE openSUSE-Tumbleweed traefikx86_64 Advisory build 3.6.15-1.1 OPENSUSE-SU-2026:10697-1
SUSE / openSUSE openSUSE-Tumbleweed traefik2aarch64 Advisory build 2.11.44-1.1 OPENSUSE-SU-2026:10698-1
SUSE / openSUSE openSUSE-Tumbleweed traefik2ppc64le Advisory build 2.11.44-1.1 OPENSUSE-SU-2026:10698-1
Show 2 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed traefik2s390x Advisory build 2.11.44-1.1 OPENSUSE-SU-2026:10698-1
SUSE / openSUSE openSUSE-Tumbleweed traefik2x86_64 Advisory build 2.11.44-1.1 OPENSUSE-SU-2026:10698-1

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in Traefik, an HTTP reverse proxy and load balancer. This authentication bypass vulnerability allows an unauthenticated attacker to access protected content. The flaw occurs when the StripPrefixRegex middleware is used with authentication mechanisms such as ForwardAuth, BasicAuth, or DigestAuth. By crafting a specific URL with dot-segments, an attacker can bypass authentication checks and gain unauthorized access to sensitive resources.

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
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

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.6 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
traefik traefik < 2.11.43 (affected)>= 3.0.0-beta1, < 3.6.14 (affected)>= 3.7.0-ea.1, < 3.7.0-rc.2 (affected) GitHub_M · cna
Red Hat Red Hat OpenShift Dev Spaces 3.28 1779786779 and later (unaffected · rpm)Default: affected redhat-SADP · adp

Weaknesses

2
  • CWE-706 CWE-706: Use of Incorrectly-Resolved Name or Reference (GitHub_M · cna)
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (redhat-SADP · adp)

References

8

Provider assertions

3

GitHub_M · cna

Traefik: StripPrefixRegex auth bypass via Path/RawPath desync

redhat-SADP · adp

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
d5429b4e30211a43121064b250827e3afb50ff2d995074442c3dd2a9590bd707
Ingested
23 Sep 2026, 09:13:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected