CVE-2025-54386: Traefik Client Plugin Path Traversal Vulnerability Allows Arbitrary File Overwrite and Remote Code Execution
Summary
CVE-2025-54386: Traefik Client Plugin's Path Traversal Vulnerability Allows Arbitrary File Overwrite and Remote Code Execution in github.com/traefik/traefik. Affected versions are not published. No fix is published. How to fix ↓
Also tracked for
The same CVE-2025-54386 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Traefik is an open-source edge router that simplifies the deployment of microservices by managing traffic and routing requests to various services. It is widely used for its dynamic configuration capabilities and support for multiple backends. However, a critical vulnerability has been identified in the Traefik Client Plugin, which could lead to severe security risks.
Vulnerability Detail
The vulnerability in the Traefik Client Plugin stems from a path traversal issue that allows attackers to manipulate file paths. This can lead to arbitrary file overwrites and potentially remote code execution on the server. The vulnerability affects all versions of the Traefik package and its subsequent versions, making it crucial for users to address this issue promptly to prevent exploitation.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users can restrict access to the Traefik Client Plugin or disable it until the package is updated. Additionally, ensure that proper file permissions are set on the server to mitigate the risk of unauthorized file access.
Conclusion
The Traefik Client Plugin vulnerability (CVE-2025-54386) poses a significant risk due to its potential for arbitrary file overwrites and remote code execution. Users are strongly advised to update their packages to the latest patched versions to mitigate this risk. Utilizing tools like Vulert can help monitor vulnerabilities in real-time.
See every vulnerability recorded for github.com/traefik/traefik →
FAQ
The Traefik Client Plugin is a component of the Traefik edge router that allows users to extend its functionality through custom plugins.
You can use Vulert to monitor and alert in real-time for open-source vulnerabilities. Visit the Vulert playground at Vulert Scanner to check if your application is affected without any signup.
If exploited, this vulnerability could allow attackers to overwrite critical files on the server and execute arbitrary code, leading to data breaches and system compromise.
Yes, users should update to Traefik v2.11.28 or later for v2, and v3.5.0 or later for v3 to ensure they are using a secure version.
If immediate updates are not possible, consider implementing access restrictions to the Traefik Client Plugin and ensure that your server's file permissions are properly configured to minimize risk.
Related vulnerabilities
Recent vulnerabilities recorded for github.com/traefik/traefik.