CVE-2025-54386
traefik: Traefik's Client Plugin is Vulnerable to Path Traversal, Arbitrary File Overwrites and Remote Code Execution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Red Hat (medium).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| chainguard | traefik-2.11 | 0 |
| go::GitHub Security Advisory Go | github.com/traefik/traefik/v2, github.com/traefik/traefik/v3 | 2.11.28 and 1 more |
| minimos | traefik-2, traefik-3 | 2.11.28-r0 and 1 more |
| rapidfort alpine 3.20 | traefik | 3.5.0-r0 |
| rapidfort alpine 3.21 | traefik | 3.5.0-r0 |
| rapidfort alpine 3.22 | traefik | 3.5.0-r0 |
| rapidfort alpine 3.24 | traefik | 3.5.0-r0 |
Show all 9 entries from 7 sources
| Source | Package | Fixed in |
|---|---|---|
| chainguard | traefik-2.11 | 0 |
| go::GitHub Security Advisory Go | github.com/traefik/traefik/v2 | 2.11.28 |
| go::GitHub Security Advisory Go | github.com/traefik/traefik/v3 | 3.4.5, 3.5.0 |
| minimos | traefik-2 | 2.11.28-r0 |
| minimos | traefik-3 | 3.4.5-r0 |
| rapidfort alpine 3.20 | traefik | 3.5.0-r0 |
| rapidfort alpine 3.21 | traefik | 3.5.0-r0 |
| rapidfort alpine 3.22 | traefik | 3.5.0-r0 |
| rapidfort alpine 3.24 | traefik | 3.5.0-r0 |
References
- https://access.redhat.com/security/cve/CVE-2025-54386
- https://github.com/traefik/plugin-service/pull/71
- https://github.com/traefik/plugin-service/pull/72
- https://github.com/traefik/traefik
- https://github.com/traefik/traefik/commit/5ef853a0c53068f69a6c229a5815a0dc6e0a8800
- https://github.com/traefik/traefik/pull/11911
- https://github.com/traefik/traefik/releases/tag/v2.11.28
- https://github.com/traefik/traefik/security/advisories/GHSA-q6gg-9f92-r9wg