CVE-2025-32431CWE-22

Traefik has a possible vulnerability with the path matchers

High · published April 21, 2025

CVSS v4.0
8.8
EPSS
1%
Percentile
60.7
In the wild
Unconfirmed
What it is

⚡ An unauthenticated request is all an attacker needs to exploit this path traversal vulnerability in Traefik! 🌪️ It's like a sneaky delivery driver taking a shortcut through another building's backdoor, instead of going through the main entrance. If they find a way to slip through the cracks, they could access restricted areas without anyone noticing! An attacker could redirect requests to unintended backend services, potentially exposing sensitive data or manipulating services behind your router. This could lead to unauthorized access or even data breaches, making it a dangerous oversight!

Put simply

It's like a sneaky delivery driver taking a shortcut through another building's backdoor, instead of going through the main entrance. If they find a way to slip through the cracks, they could access restricted areas without anyone noticing! This vulnerability arises from how Traefik handles URL paths with 'PathPrefix', 'Path', or 'PathRegex' matchers. If a URL includes '/../', it can bypass the configured middlewares and reach unintended targets.

What to do

An attacker could redirect requests to unintended backend services, potentially exposing sensitive data or manipulating services behind your router. This could lead to unauthorized access or even data breaches, making it a dangerous oversight! Upgrade Traefik to versions 2.11.24, 3.3.6, or 3.4.0-rc2 immediately. Additionally, implement a `PathRegexp` rule to reject any paths that include '/../' to enhance security. Don't wait! You've got this! Follow these steps and you'll strengthen your security against this sneaky vulnerability. 🛡️

The record
Technical detail
CVSS v4.0
8.8 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
EPSS
0.00945 · 60.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-04-21T15:34Z
EPSS history
Timeline
  • 21 APR 15:34Z
    Traefik has a possible vulnerability with the path matchers
    cvelistv5