CVE-2026-45405
CRITICALDokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/dokku/dokku/security/advisories/GHSA-j6qq-xg73-ghqg
X_Refsource_Misc x_refsource_misc
https://github.com/dokku/dokku/pull/8591
Scores
CVSS v3
9.0
EPSS
0.0029
EPSS Percentile
21.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-59
Status
published
Products (1)
dokku/dokku
< 0.38.2 (2 CPE variants)
Published
Jun 26, 2026
Tracked Since
Jun 26, 2026