Skip to content
CVE-2026-137481 CrowdStrike LogScale · LogScale

Detect Traefik sanitizePath Authorization Bypass via Path-Parameter Dot-Segments (CVE-2026-137481) in CrowdStrike LogScale

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.

Based on Traefik GHSA-cp28-5662-543f / VulnCheck advisory

MITRE ATT&CK

Tactic
Initial Access Privilege Escalation

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
// df00tech DF00-98b407c0f4 · https://df00tech.com/detections/CVE-2026-137481 · licence: https://df00tech.com/detections/licence
#event_simpleName=HttpRequest OR #repo=traefik
| in(field="product", values=["traefik", "Traefik"])
| regex("(?i)(?<trav>/\.\.|/\./|%2e%2e|%2e/|\.\.;|\.\.%2f|\.{4}/+)", field=url)
| regex("(?i)(?<sensitive>/admin|/dashboard|/api/internal|/actuator|/metrics|/config)", field=url)
| groupBy([src_ip, url, http_method, status])
| sort(field=_count, order=desc)
high severity medium confidence

CrowdStrike CQL (LogScale) query over Traefik HTTP request data detecting dot-segment traversal in URLs reaching sensitive routes.

Data Sources

Traefik access logsFalcon LogScale HTTP ingest

Required Tables

HttpRequest

False Positives & Tuning

  • Scanner probing not reaching protected backends
  • Legitimate encoded API paths
  • Metrics and health-check polling

Other platforms 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.

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

  2. Test 2 Encoded %2e dot-segment bypass

    Expected signal: Traefik access log showing %2e%2e encoded segments in the request path toward /api/internal

  3. Test 3 Semicolon dot-segment variant

    Expected signal: Traefik access log entry containing ..; segment in path targeting /dashboard


Response Playbook

Triage

  1. 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.
  2. 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.
  3. 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.
  4. Identify the source IP's full request history to distinguish a single opportunistic probe from a sustained bypass campaign against protected endpoints.

Containment

  1. Upgrade Traefik to a fixed release (2.11.62, 3.7.18, or later) as the authoritative remediation.
  2. 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.
  3. Block the offending source IP(s) at the edge if an active bypass against sensitive routes is confirmed.

Evidence Collection

  1. Preserve full Traefik access logs (raw RequestPath, matched router, response code, source IP) covering the suspected exploitation window.
  2. Capture backend application logs for the targeted sensitive routes to determine whether the request was actually served and what data was returned.
  3. 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.

Hunting — KQL
kql
// 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
Hunting — SPL
spl
``` 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

Test 1 Path-parameter dot-segment traversal against protected prefix
linux

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

bash
curl -sk -o /dev/null -w '%{http_code}\n' 'http://traefik-lab.local/public/..;x/admin/config'

Cleanup

bash
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

Test 2 Encoded %2e dot-segment bypass
linux

Use percent-encoded dot sequences (%2e%2e) to probe incomplete sanitizePath normalization toward an internal API route.

Command

bash
curl -sk 'http://traefik-lab.local/app/%2e%2e/api/internal/users'

Cleanup

bash
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

Test 3 Semicolon dot-segment variant
windows

Submit the ..; path-parameter variant used to confuse path normalizers and bypass path-based routing/authorization.

Command

powershell
powershell -c "Invoke-WebRequest -UseBasicParsing -Uri 'http://traefik-lab.local/files/..;/dashboard' -MaximumRedirection 0"

Cleanup

powershell
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