Vulnerability · Published Jun 26, 2026 · Assigned by GitHub_M
CVE-2026-45405Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add
Critical 9.0
In plain English
A critical-severity security flaw in dokku from dokku. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities).
Official description
Dokku is a docker-powered PaaS. Prior to 0.38.2, the git:from-archive and certs:add commands extract user-supplied tar/zip archives into temporary directories without sanitizing member paths or preventing symlink traversal. GNU tar creates symlinks during extraction and follows them for subsequent entries, allowing an attacker to write arbitrary files anywhere writable by the dokku user — including overwriting ~/.ssh/authorized_keys to gain unrestricted shell access. This vulnerability is fixed in 0.38.2.
Affected products (as reported)
Weakness: CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/dokku/dokku/security/advisories/GHSA-j6qq-xg73-ghqg x_refsource_CONFIRM
- https://github.com/dokku/dokku/pull/8591 x_refsource_MISC