BreachSpiderVerified, not vibes

CVE-2026-40912 in Traefik

High 8.2

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 th...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.2
CVSS v47.8
EPSS0.7%
EPSS percentile51th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Traefik Traefik 3.7.0 < 2.11.43 ≥ 3.0.0, < 3.6.14

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-40912
BreachSpider IDBS-2026-GLOBAL-271093-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Published2026-04-30
Last modified2026-11-11
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

CWE-706: CWE-706

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-177 Create files with the same name as files protected with a higher classification via CWE-706

Show all 9

CAPEC-641 DLL Side-Loading via CWE-706

CAPEC-48 Passing Local Filenames to Functions That Expect a URL via CWE-706

CAPEC-126 Path Traversal via CWE-22

CAPEC-159 Redirect Access to Libraries via CWE-706

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A high severity authentication bypass vulnerability exists in Traefik's StripPrefixRegex middleware when used with ForwardAuth, BasicAuth, or DigestAuth in versions prior to 2.11.43, 3.6.14, and 3.7.0-rc.2.

The vulnerability arises because the middleware matches the regex against the decoded URL path but uses the resulting byte length to slice the percent-encoded URL path, potentially allowing an attacker to bypass authentication.

Questions

What is CVE-2026-40912?

A high severity authentication bypass vulnerability exists in Traefik's StripPrefixRegex middleware when used with ForwardAuth, BasicAuth, or DigestAuth in versions prior to 2.11.43, 3.6.14, and 3.7.0-rc.2.

What is the CVSS score for CVE-2026-40912?

CVE-2026-40912 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N. EPSS: 0.7%.

Is CVE-2026-40912 actively exploited?

No confirmed active exploitation of CVE-2026-40912 as of 2026-11-12.

How do I remediate CVE-2026-40912?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2026-40912?

CVE-2026-40912 affects Traefik Traefik.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Traefik","product":"Traefik","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.