7.3high
Traefik's Client Plugin is Vulnerable to Path Traversal, Arbitrary File Overwrites and Remote Code Execution
- Severity
- 7.3high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 1.35% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-q6gg-9f92-r9wgGO-2025-3835
Description
Traefik is an HTTP reverse proxy and load balancer. In versions 2.11.27 and below, 3.0.0 through 3.4.4 and 3.5.0-rc1, a path traversal vulnerability was discovered in WASM Traefik’s plugin installation mechanism. By supplying a maliciously crafted ZIP archive containing file paths with ../ sequences, an attacker can overwrite arbitrary files on the system outside of the intended plugin directory. This can lead to remote code execution (RCE), privilege escalation, persistence, or denial of service. This is fixed in versions 2.11.28, 3.4.5 and 3.5.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| traefik traefik | <= 2.11.27, < 2.11.28, <= 3.0.0, < 3.4.5, >= 3.5.0-rc1, < 3.5.0-rc2, before 2.11.7, from 3.0.0 before 3.4.4, 3.5.0 | CVE List, NVD |
| github.com/traefik/traefik/v2 (Go) | before 2.11.28 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/traefik/traefik/v3 (Go) | before 3.4.5, from 3.5.0-rc1 before 3.5.0 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/traefik/traefik (Go) | all versions | Go Vulnerability Database |
All scores
| GitHub_M | 7.3high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Traefik is an HTTP reverse proxy and load balancer. In versions 2.11.27 and below, 3.0.0 through 3.4.4 and 3.5.0-rc1, a path traversal vulnerability was discovered in WASM Traefik’s plugin installation mechanism. By supplying a maliciously crafted ZIP archive containing file paths with ../ sequences, an attacker can overwrite arbitrary files on the system outside of the intended plugin directory. This can lead to remote code execution (RCE), privilege escalation, persistence, or denial of service. This is fixed in versions 2.11.28, 3.4.5 and 3.5.0.
GitHub Advisory Database
Summary
A path traversal vulnerability was discovered in WASM Traefik’s plugin installation mechanism. By supplying a maliciously crafted ZIP archive containing file paths with ../ sequences, an attacker can overwrite arbitrary files on the system outside of the intended plugin directory. This can lead to remote code execution (RCE), privilege escalation, persistence, or denial of service.
✅ After investigation, it is confirmed that no plugins on the Catalog were affected. There is no known impact.
Details
The vulnerability resides in the WASM plugin extraction logic, specifically in the unzipFile function (/plugins/client.go). The application constructs file paths during ZIP extraction using filepath.Join(destDir, f.Name) without validating or sanitizing f.Name. If the ZIP archive contains entries with ../, the resulting path can escape the intended directory, allowing writes to arbitrary locations on the host filesystem.
Attack Requirements
There are several requirements needed to make this attack possible:
- The Traefik server should be deployed with plugins enabled with a WASM plugin (yaegi plugins are not impacted).
- The attacker should have write access to a remote plugin asset loaded by the Traefik server
- The attacker should craft a malicious version of this plugin
Warning
As clearly stated in the documentation, plugins are experimental in Traefik, and unsafe plugins could damage your infrastructure:
Experimental Features Plugins can change the behavior of Traefik in unforeseen ways. Exercise caution when adding new plugins to production Traefik instances.
Impact
This vulnerability did not affect any plugin from the catalog. There is no known impact.
Additionally, the catalog will also prevent any compromised plugin to be available across all Traefik versions.
This vulnerability can allow an attacker to perform arbitrary file write outside the intended plugin extraction directory by crafting a malicious ZIP archive that includes ../ (directory traversal) in file paths.
Go Vulnerability Database
Traefik Client Plugin's Path Traversal Vulnerability Allows Arbitrary File Overwrite and Remote Code Execution in github.com/traefik/traefik
NVD (es)
Traefik es un proxy inverso HTTP y balanceador de carga. En las versiones 2.11.27 y anteriores, 3.0.0 a 3.4.4 y 3.5.0-rc1, se descubrió una vulnerabilidad de Path traversal en el mecanismo de instalación del complemento de WASM Traefik. Al proporcionar un archivo ZIP manipulado con fines malintencionados que contiene rutas de archivos con secuencias ../, un atacante puede sobrescribir archivos arbitrarios en el sistema fuera del directorio del complemento. Esto puede provocar ejecución remota de código (RCE), escalada de privilegios, persistencia o denegación de servicio. Esto se ha corregido en las versiones 2.11.28, 3.4.5 y 3.5.0.
References
| https://github.com/traefik/traefik/security/advisories/GHSA-q6gg-9f92-r9wg | advisory, vendor-advisory, web | |
| https://github.com/traefik/plugin-service/pull/71 | patch, web | |
| https://github.com/traefik/plugin-service/pull/72 | patch, web | |
| https://github.com/traefik/traefik/pull/11911 | fix, patch, web | |
| https://github.com/traefik/traefik/commit/5ef853a0c53068f69a6c229a5815a0dc6e0a8800 | fix, patch, web | |
| https://github.com/traefik/traefik/releases/tag/v2.11.28 | release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-54386 | advisory | |
| https://github.com/traefik/traefik | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-54386 changed 2025-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q6gg-9f92-r9wg changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3835 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-54386 changed 2026-06-17 | Public domain |