Skip to content
Blog

Traefik · reverse proxy · auth bypass

CVE-2026-137481 Traefik: Authentication Middleware Bypass via sanitizePath

CVE-2026-137481 (9.3, VulnCheck): paths like /..;x/ slip past Traefik's authentication middlewares. Fixed in 2.11.62 and 3.7.18. How it works and what to do.

3 min readCVE-2026-137481

NVD published CVE-2026-137481 on November 26, 2026. It affects Traefik, the reverse proxy found in countless Docker and Kubernetes deployments, and lets an unauthenticated attacker sidestep authentication or authorization middlewares to reach protected resources.

It's the second authentication bypass in Traefik this year, after the ForwardAuth flaws in April. This time the problem isn't in a middleware but further upstream, in path normalization.


The Vulnerability

FieldValue
CVECVE-2026-137481
CVSS 3.1 (VulnCheck)9.3 (CRITICAL) — AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
CVSS 4.0 (VulnCheck)7.8 (HIGH)
TypePath traversal (CWE-22)
Authentication requiredNone
NVD publication2026-11-26
NVD statusAwaiting Analysis
Vendor advisoryGHSA-cp28-5662-543f

The score comes from VulnCheck (CNA); NVD hasn't analyzed the CVE yet.


How it works: dot-segments carrying parameters

The sanitizePath option on a Traefik entrypoint cleans up the request path (resolving /../, /./, duplicate slashes) before a router is selected and middlewares are applied. That's what guarantees a PathPrefix(/admin) rule sees /admin no matter how the path is spelled.

According to the NVD description, sanitizePath leaves dot-segments that carry a path parameter, such as /..;x/, unresolved. The semicolon introduces a parameter (RFC 3986 syntax, used notably by Java servers), and Traefik no longer recognizes ..;x as "go up one level".

The scenario described:

  1. a public router without authentication (/public) and a protected router (/admin) with an auth middleware both point to the same backend;
  2. the attacker sends /public/..;x/admin;
  3. Traefik sees a path starting with /public, picks the public router, and applies no auth middleware;
  4. the backend, which strips path parameters, reads /public/../admin, i.e. /admin, and serves the protected resource.

So the flaw is only exploitable when a shared backend behind both a public and a protected route interprets path parameters this way. That's a real precondition, but a common setup: one application service exposed with its public pages and its admin interface through two Traefik routers.


Affected Versions

BranchAffected versions (NVD)First version out of range
Traefik 2.xbefore 2.11.622.11.62
Traefik 3.xbefore 3.7.183.7.18
Traefik 3.83.8.0-rc.1see the advisory

⚠️ These numbers are the bounds from the NVD description (no CPE configurations yet), not necessarily the release to install. For the 3.8 branch, NVD doesn't name a fixed version: check advisory GHSA-cp28-5662-543f.

Check your version:

traefik version
docker inspect --format '{{.Config.Image}}' traefik

Detection

  • In Traefik access logs: paths containing ..; (or its encoded form ..%3B)
  • Requests hitting a public router whose path, once parameters are stripped, maps to a protected route
  • On the backend: access to admin pages without the headers your auth middleware normally sets (for example those added by ForwardAuth)
grep -E "\.\.(;|%3[Bb])" access.log

Mitigation

1. Update Traefik

2.11.62 or later on branch 2, 3.7.18 or later on branch 3. Keep 3.8 release candidates out of production.

2. Don't share a backend between public and protected routes

If a service must expose both public pages and an admin interface, protect it in the service itself, or split the two into separate services. A Traefik middleware only protects requests that are routed through it.

3. Reject path parameters at the edge

Until you upgrade, a high-priority router that rejects paths containing ; cuts off the described vector, provided your applications don't legitimately use path parameters.

4. Check the backend

Applications that ignore path parameters (;jsessionid=… and the like) are what make the flaw exploitable: look there first.


Why continuous monitoring of your reverse proxy matters

Traefik is rarely inventoried as a "product": it's a Docker image in a compose file, updated when someone remembers. Two authentication bypasses in seven months in the component guarding all your applications are reason enough to track its version like a firewall's.

With cveo.tech, add Traefik to your inventory with its exact version and get an automatic alert as soon as a new CVE affects it.

Know which CVEs hit the versions you run.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.

Every Monday

The week's critical CVEs, in your inbox

One email a week: the CVSS ≥ 9 vulnerabilities published in the last seven days, plus our latest analyses. Nothing else.

Double opt-in by email. Unsubscribe in one click, any time.