Alert

Logo de Traefik

Alert 2026-185 Critical vulnerability in Traefik allows bypassing authentication

Affected product(s): 

ProductAffected versionsFix
Traefik 2.xEarlier than 2.11.622.11.62 (2.11.64 is recommended)
Traefik 3.7.x3.7.17 and earlier on that branch3.7.18 (3.7.20 is recommended)
Traefik 3.8.0 (rc)3.8.0-rc.13.8.0-rc.2 (3.8.0 is recommended)
Traefik 3.0 through 3.6AllNo patch on those branches; migrate to 3.7.18, 3.8.0 or later

Exploiting this flaw requires a backend that strips path parameters (for example, a Servlet container or a Spring application) to be shared between a public router and one protected by an authentication or authorization middleware.

Description

A critical vulnerability has been reported in Traefik, a reverse proxy and ingress controller widely used in container and Kubernetes environments, identified as CVE-2026-137481 (CVSS 9.3, critical). The vendor rates it as high (CVSS 7.8). This bulletin is classified as CRITICAL.

The sanitizePath entry-point option, enabled by default, resolves . and .. segments and removes duplicate slashes before routing, but leaves unresolved a segment that carries a path parameter, such as /..;x/. Traefik then applies its middlewares to that unsanitized path and forwards it unchanged. When a backend that strips those parameters — the vendor cites Servlet containers and Spring — is shared between a router without authentication and a protected one, an unauthenticated remote attacker can reach the protected resources and bypass the authentication or authorization middleware. The vendor advisory cites as an example a request of the form /public/..;x/admin. Not every Traefik installation is exposed in the same way: that shared-backend topology is required.

The vendor published the advisory on Nov 12, 2026, and the CVE identifier on Nov 26, 2026. No exploitation of this vulnerability is known, and it is not listed in the Known Exploited Vulnerabilities catalog. No independent public proof of concept was identified.

Mitigation

There is no official workaround from the vendor. The fix is to update, as described in Solution.

Until the patch is applied, exposure can be reduced by avoiding a setup in which the same backend that strips path parameters serves both a public router and a protected one, and by prioritizing instances exposed to the Internet. sanitizePath should not be disabled as a measure: the vendor does not recommend it, and doing so stops the rest of the paths from being normalized.

Solution

The solution is to update Traefik to a fixed version on its branch: 2.11.62, 3.7.18 or 3.8.0-rc.2, or later. As of Nov 28, 2026, 2.11.64, 3.7.20 or 3.8.0 are recommended, as they already include this fix. Those running branches 3.0 through 3.6 will not receive a patch on those branches and should migrate to 3.7.18, 3.8.0 or later.

After updating, with sanitizePath enabled (the default), ., .. and empty segments that carry path parameters are resolved as a normal path segment; review routes if any depended on the previous behavior.

The same update also fixes other vendor flaws, including a ForwardAuth bypass (CVE-2026-137478, CVSS 8.7, high) and, on the applicable 3.x branches, memory exhaustion in the Compress middleware (CVE-2026-137479) and a client-certificate bypass in the Ingress NGINX provider (CVE-2026-137480, CVSS 8.7, high).

For information on how to update, visit the following link:

https://github.com/traefik/traefik/security/advisories/GHSA-cp28-5662-543f

Additional information: