CVE-2026-65600

Traefik before v2.11.52 Authentication Bypass via ReplacePathRegex

State
Published
Severity
7.8 High
Published
Jul 22, 2026
Updated
Oct 8, 2026
Reserved
Jul 22, 2026

Read the record on cve.org

Description

Traefik versions <= v2.11.51, >= v3.6.0 <= v3.6.22, and >= v3.7.0 <= v3.7.6 contain an authentication bypass via path traversal in the ReplacePathRegex middleware. When ReplacePathRegex is configured with a regex that captures user-controlled path segments without a mandatory path separator (e.g. regex "^/api(.*)", replacement "/$1"), the middleware forwards the replaced path to the backend without validating that it matches its normalized form. An unauthenticated remote attacker can send a crafted request (e.g. GET /api../admin) that produces an un-normalized path such as /../admin, which a backend that normalizes paths resolves to a protected route, bypassing authentication middleware. Fixed in v2.11.52, v3.6.23, and v3.7.7.

Scores

CVSSScoreVectorSource
4.07.8 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:NVulnCheck

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
traefiktraefik
  • before 2.11.52Affected
  • 2.11.52Not affected
traefiktraefik
  • 3.6.0 to before 3.6.23Affected
  • 3.6.23Not affected
traefiktraefik
  • 3.7.0 to before 3.7.7Affected
  • 3.7.7Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.