Traefik sanitizePath Authorization Bypass via Path-Parameter Dot-Segments (CVE-2026-137481)
Detects attempts to exploit CVE-2026-137481, an authorization bypass in Traefik reverse proxy (before 2.11.62, 3.x before 3.7.18, and 3.8.0-rc.1). The sanitizePath entry point option resolves the . and .. dot-segments but leaves a dot-segment carrying a path parameter, such as /..;x/, unresolved. Traefik matches its routers and applies its middlewares on this unresolved path and forwards it unchanged. When a parameter-stripping backend (for example Servlet containers or Spring) is shared between an unauthenticated router and a router protected by authentication or authorization middleware, an unauthenticated attacker can send a request such as /public/..;x/admin to reach protected resources and bypass the middleware. Detection focuses on Traefik access logs and backend web logs showing requests with dot-segment path parameters or traversal sequences reaching sensitive routes, correlated with authorization bypass indicators such as anonymous access to privileged paths or 2xx responses on routes that should return 401/403.
Vulnerability Intelligence
TheoreticalWeakness (CWE)
Timeline
- Disclosed
- November 26, 2026
CVSS
What is CVE-2026-137481 Traefik sanitizePath Authorization Bypass via Path-Parameter Dot-Segments (CVE-2026-137481)?
Traefik sanitizePath Authorization Bypass via Path-Parameter Dot-Segments (CVE-2026-137481) (CVE-2026-137481) maps to the Initial Access and Privilege Escalation tactics — the adversary is trying to get into your network in MITRE ATT&CK.
This page provides production-ready detection logic for Traefik sanitizePath Authorization Bypass via Path-Parameter Dot-Segments (CVE-2026-137481), covering the data sources and telemetry it touches: Traefik access logs, CEF/Syslog forwarder. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
// df00tech DF00-98b407c0f4 · https://df00tech.com/detections/CVE-2026-137481 · licence: https://df00tech.com/detections/licence
// Traefik sanitizePath authorization bypass via dot-segments (CVE-2026-137481)
let sensitivePaths = dynamic(["/admin", "/dashboard", "/api/internal", "/actuator", "/metrics", "/.env", "/config"]);
CommonSecurityLog
| where DeviceVendor has "Traefik" or DeviceProduct has "Traefik" or SourceServiceName has "traefik"
| extend ReqPath = tostring(RequestURL)
| where ReqPath has_any ("/..", "/./", "%2e", "%2E", "..;", "..%2f", "..%5c", "....//")
| where isnotempty(ReqPath)
| extend HitsSensitive = array_length(set_intersect(sensitivePaths, dynamic([ReqPath])))
| extend StatusCode = toint(coalesce(column_ifexists("ReceivedBytes", 0), 0))
| project TimeGenerated, SourceIP, RequestURL=ReqPath, RequestMethod, DestinationHostName, DeviceAction, Message
| sort by TimeGenerated desc Searches Traefik access logs surfaced via CommonSecurityLog for dot-segment and encoded traversal sequences in the request path that could bypass sanitizePath normalization and reach protected routes.
Data Sources
Required Tables
False Positives
- Legitimate clients using relative paths that get normalized by well-behaved HTTP libraries
- Web crawlers and scanners probing for traversal that never reach a protected backend
- Internal health-check tooling that intentionally probes normalized paths
Query fingerprint DF00-98b407c0f4 · licence
Sigma logsource & community rules
The detection logic for Traefik sanitizePath Authorization Bypass via Path-Parameter Dot-Segments (CVE-2026-137481) (CVE-2026-137481) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-137481
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Path-parameter dot-segment traversal against protected prefix
Expected signal: Traefik access log entry with a RequestPath containing a ..;x path-parameter dot-segment targeting /admin/config
- Test 2 Encoded %2e dot-segment bypass
Expected signal: Traefik access log showing %2e%2e encoded segments in the request path toward /api/internal
- Test 3 Semicolon dot-segment variant
Expected signal: Traefik access log entry containing ..; segment in path targeting /dashboard
Response Playbook
Triage
- Confirm the Traefik version serving the affected route is vulnerable (< 2.11.62, 3.x < 3.7.18, or 3.8.0-rc.1) by checking the running image tag or `traefik version` output.
- Extract the raw request path from the access log and manually normalize dot-segments to determine the actual backend route reached versus the route the authorization middleware matched.
- Check the HTTP response code: a 2xx/3xx response on a route that should require authentication (expected 401/403) is a strong indicator the bypass succeeded.
- Identify the source IP's full request history to distinguish a single opportunistic probe from a sustained bypass campaign against protected endpoints.
Containment
- Upgrade Traefik to a fixed release (2.11.62, 3.7.18, or later) as the authoritative remediation.
- As an interim mitigation, add a middleware or WAF rule that rejects requests whose raw path contains dot-segments or encoded traversal sequences (., .., %2e) before routing, and verify ForwardAuth matches the normalized path.
- Block the offending source IP(s) at the edge if an active bypass against sensitive routes is confirmed.
Evidence Collection
- Preserve full Traefik access logs (raw RequestPath, matched router, response code, source IP) covering the suspected exploitation window.
- Capture backend application logs for the targeted sensitive routes to determine whether the request was actually served and what data was returned.
- Snapshot the Traefik configuration (entry points, routers, middleware chain, sanitizePath setting) as deployed at the time of the incident.
Escalation Criteria
- ! Escalate to incident response if a privileged or admin route returned a successful response to an unauthenticated or unauthorized request.
- ! Escalate if evidence shows sensitive data retrieval, configuration disclosure, or state-changing actions performed via the bypassed route.
Investigation Guide
Forensic Artifacts
- >
Traefik access log entries showing raw (pre-normalization) request paths with dot-segments - >
Backend web server logs showing the normalized path actually served - >
Traefik router/middleware match records indicating which rule the request matched
Tuning Guidance
Baseline normal relative-path and encoded-segment usage for your APIs before alerting; many clients and scanners generate dot-segment noise that never reaches a protected route. Prioritize alerts where the normalized path reaches a sensitive route AND the response code indicates success (2xx/3xx) rather than 401/403. Maintain the sensitive-route list to match your actual protected prefixes, and suppress known observability/health-check source IPs hitting /metrics and /actuator.
Hunting Queries
Surfaces source IPs and paths repeatedly submitting dot-segment/encoded traversal sequences to Traefik, useful for spotting enumeration before a successful bypass.
// df00tech DF00-98b407c0f4 · https://df00tech.com/detections/CVE-2026-137481 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where SourceServiceName has "traefik" | where RequestURL has_any ("/..","%2e","..;") | summarize count() by SourceIP, RequestURL | sort by count_ desc ``` df00tech DF00-98b407c0f4 · https://df00tech.com/detections/CVE-2026-137481 · licence: https://df00tech.com/detections/licence ```
index=proxy sourcetype IN ("traefik:access","traefik:json") | regex _raw="(?i)(/\.\.|%2e|\.\.;)" | stats count by src_ip, uri_path | sort - count Atomic Red Team Tests
Send a request embedding a path-parameter dot-segment to attempt to bypass a PathPrefix authorization rule and reach a protected route on a lab Traefik instance.
Command
curl -sk -o /dev/null -w '%{http_code}\n' 'http://traefik-lab.local/public/..;x/admin/config' Cleanup
echo 'No cleanup required; stateless GET request' Expected Telemetry
Traefik access log entry with a RequestPath containing a ..;x path-parameter dot-segment targeting /admin/config
Expected Detection
Rule fires on the dot-segment path parameter reaching the /admin sensitive route prefix
Use percent-encoded dot sequences (%2e%2e) to probe incomplete sanitizePath normalization toward an internal API route.
Command
curl -sk 'http://traefik-lab.local/app/%2e%2e/api/internal/users' Cleanup
echo 'No cleanup required' Expected Telemetry
Traefik access log showing %2e%2e encoded segments in the request path toward /api/internal
Expected Detection
Rule matches encoded %2e%2e traversal targeting /api/internal
Submit the ..; path-parameter variant used to confuse path normalizers and bypass path-based routing/authorization.
Command
powershell -c "Invoke-WebRequest -UseBasicParsing -Uri 'http://traefik-lab.local/files/..;/dashboard' -MaximumRedirection 0" Cleanup
Write-Output 'No cleanup required' Expected Telemetry
Traefik access log entry containing ..; segment in path targeting /dashboard
Expected Detection
Rule fires on the ..; dot-segment variant reaching the /dashboard route
Related Detections
Related Techniques
Same Tactic: Initial Access
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040