The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-47952

CVE-2025-47952: Traefik Path Traversal Vulnerability

CVE-2025-47952 is a path traversal flaw in Traefik reverse proxy that allows attackers to bypass middleware and access unintended backends. This article covers technical details, affected versions, and mitigation steps.

Updated: January 22, 2026

CVE-2025-47952 Overview

A path traversal vulnerability exists in Traefik, a popular HTTP reverse proxy and load balancer, that allows attackers to bypass middleware chains through URL-encoded path manipulation. When Traefik is configured to route requests to backends using path-based matchers (PathPrefix, Path, or PathRegex), attackers can craft requests with URL-encoded strings in the path to target backends exposed by different routers, effectively circumventing security middleware.

Critical Impact

Attackers can bypass authentication, authorization, and other security middleware by exploiting URL encoding inconsistencies in path-based routing, potentially gaining unauthorized access to protected backend services.

Affected Products

  • Traefik versions prior to 2.11.25
  • Traefik versions 3.x prior to 3.4.1

Discovery Timeline

  • 2025-05-30 - CVE-2025-47952 published to NVD
  • 2025-11-25 - Last updated in NVD database

Technical Details for CVE-2025-47952

Vulnerability Analysis

This vulnerability (CWE-22: Path Traversal) stems from improper handling of URL-encoded characters in request paths during the routing decision process. When Traefik evaluates path-based routing rules, discrepancies between how the router interprets the URL versus how the backend ultimately processes it create a security gap. An attacker can exploit this by including URL-encoded sequences in their request paths that the Traefik router processes differently than the target backend services.

The vulnerability is network-accessible and requires no authentication, though exploitation requires specific conditions to be met (the target must use path-based routing with middleware chains). Successful exploitation results in unauthorized access to protected resources by completely bypassing middleware that would normally enforce security policies like authentication or rate limiting.

Root Cause

The root cause lies in the inconsistent normalization of URL-encoded paths between Traefik's routing logic and the underlying request handling. The gorilla/mux dependency used by Traefik did not properly normalize request paths before making routing decisions, allowing specially crafted URL-encoded strings to be interpreted differently at the routing stage versus when passed to backends.

Attack Vector

The attack is conducted over the network by sending HTTP requests with carefully crafted URL-encoded path segments. When Traefik is configured with multiple routers using path-based matchers, an attacker can construct a request that appears to match one router's path pattern (with its associated middleware) but actually gets routed to a different backend after URL decoding occurs. This allows bypassing of middleware chains such as authentication handlers, authorization policies, rate limiters, or security headers middleware.

text
// Patch to go.mod - Update mux dependency for path normalization fix
 // Containous forks
 replace (
 	github.com/abbot/go-http-auth => github.com/containous/go-http-auth v0.4.1-0.20200324110947-a37a7636d23e
-	github.com/gorilla/mux => github.com/containous/mux v0.0.0-20220627093034-b2dd784e613f
+	github.com/gorilla/mux => github.com/containous/mux v0.0.0-20250523120546-41b6ec3aed59
 	github.com/mailgun/minheap => github.com/containous/minheap v0.0.0-20190809180810-6e71eb837595
 )

Source: GitHub Commit

Detection Methods for CVE-2025-47952

Indicators of Compromise

  • HTTP requests containing unusual URL-encoded sequences in paths (e.g., %2e%2e, %2f, double-encoding patterns)
  • Access logs showing requests reaching backends that should be protected by middleware
  • Requests to protected endpoints without corresponding authentication middleware processing in access logs
  • Unusual patterns of path-based routing bypasses visible in Traefik debug logs

Detection Strategies

  • Monitor Traefik access logs for requests containing URL-encoded path segments that differ when decoded
  • Implement Web Application Firewall (WAF) rules to detect and alert on path traversal patterns
  • Enable Traefik debug logging temporarily to compare routing decisions against actual backend requests
  • Deploy intrusion detection rules for HTTP requests with double URL encoding or abnormal path patterns

Monitoring Recommendations

  • Enable comprehensive access logging in Traefik with full request path capture
  • Set up alerts for requests that reach protected backends without triggering expected middleware
  • Monitor for sudden changes in traffic patterns to previously restricted endpoints
  • Implement centralized log aggregation to correlate Traefik routing decisions with backend access patterns

How to Mitigate CVE-2025-47952

Immediate Actions Required

  • Upgrade Traefik to version 2.11.25 or later for the 2.x branch
  • Upgrade Traefik to version 3.4.1 or later for the 3.x branch
  • Review all router configurations using PathPrefix, Path, or PathRegex matchers
  • Audit middleware chains to ensure critical security middleware cannot be bypassed through alternative routes

Patch Information

The vulnerability has been patched in Traefik versions 2.11.25 and 3.4.1. The fix updates the forked containous/mux dependency to version v0.0.0-20250523120546-41b6ec3aed59, which properly normalizes request paths before routing decisions are made. Organizations should upgrade to these patched versions immediately.

For detailed patch information, refer to the GitHub Security Advisory GHSA-vrch-868g-9jx5 and the official releases for v2.11.25 and v3.4.1.

Workarounds

  • Implement additional URL normalization at the network edge (e.g., using an upstream WAF or load balancer) before requests reach Traefik
  • Add explicit deny rules for requests containing suspicious URL-encoded sequences in security middleware
  • Consider implementing backend-level authentication as a defense-in-depth measure that does not rely solely on Traefik middleware
  • Temporarily restrict access to sensitive backends at the network level while planning the upgrade
bash
# Upgrade Traefik using Docker (example for 3.x branch)
docker pull traefik:v3.4.1
docker stop traefik-container
docker rm traefik-container
docker run -d --name traefik-container \
  -p 80:80 -p 443:443 \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  -v /path/to/traefik.yml:/etc/traefik/traefik.yml:ro \
  traefik:v3.4.1

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechTraefik

  • SeverityLOW

  • CVSS Score2.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release v2.11.25

  • GitHub Release v3.4.1
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-vrch-868g-9jx5
  • Related CVEs
  • CVE-2025-54386: Traefik Path Traversal Vulnerability

  • CVE-2025-32431: Traefik Path Traversal Vulnerability

  • CVE-2026-33433: Traefik Auth Bypass Vulnerability

  • CVE-2026-32695: Traefik Auth Bypass Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English