CVE-2025-47952CWE-22

Traefik allows path traversal using url encoding

Low · published May 30, 2025

CVSS v4.0
2.9
EPSS
1%
Percentile
60.6
In the wild
Unconfirmed
What it is

⚠️ A sneaky URL encoding could lead Traefik to route your requests in unintended ways! Think of it like a restaurant where the menu includes secret code words that staff don’t recognize. If a customer uses the code, they might accidentally get served from the special ‘off-menu’ section instead of the regular one, bypassing all the usual checks! An attacker could potentially access backends that should be protected by middlewares. While this isn’t a major catastrophe, it could allow unauthorized access to sensitive services or data — just enough to raise an eyebrow!

Put simply

Think of it like a restaurant where the menu includes secret code words that staff don’t recognize. If a customer uses the code, they might accidentally get served from the special ‘off-menu’ section instead of the regular one, bypassing all the usual checks! This vulnerability arises because Traefik’s routing, based on URL path matchers, fails to appropriately handle URL encoded strings. As a result, attackers can manipulate routing to bypass intended protections.

What to do

An attacker could potentially access backends that should be protected by middlewares. While this isn’t a major catastrophe, it could allow unauthorized access to sensitive services or data — just enough to raise an eyebrow! To secure your setup, upgrade Traefik to version 2.11.25 or 3.4.1 immediately. Additionally, review your matcher configurations to ensure they handle URL encodings properly. Regularly audit your routes for any unintended access points! You've got this! Fixing this is as easy as a version bump. Let’s keep your applications safe! 🛡️

The record
Technical detail
CVSS v4.0
2.9 · LOW
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
EPSS
0.00943 · 60.6th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-05-30T03:37Z
EPSS history
Timeline
  • 30 MAY 03:37Z
    Traefik allows path traversal using url encoding
    cvelistv5