Path traversal in Traefik - CVE-2025-54386

 

Path traversal in Traefik - CVE-2025-54386

Published: May 5, 2026


Vulnerability identifier: #VU129662
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-54386
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Containous
Affected software:
Traefik

Detailed vulnerability description

The vulnerability allows a remote user to overwrite arbitrary files and execute arbitrary code.

The vulnerability exists due to path traversal in the unzipFile function in /plugins/client.go when extracting a crafted WASM plugin ZIP archive. A remote privileged user can supply a malicious ZIP archive containing ../ sequences to overwrite arbitrary files and execute arbitrary code.

Exploitation requires plugins to be enabled and a WASM plugin asset loaded by the server, and user interaction is required.


How to mitigate CVE-2025-54386

Install security update from vendor's website.

Sources