Arbitrary File Write Vulnerability in Dokku by Dokku Team
CVE-2026-45405
What is CVE-2026-45405?
Dokku, a platform-as-a-service (PaaS) solution powered by Docker, contains a vulnerability in its git:from-archive and certs:add commands. This issue arises from the extraction of user-supplied tar/zip archives into temporary directories without adequate path sanitization or protection against symlink traversal. When activated, GNU tar creates symlinks during this extraction and follows them for additional entries, which can be exploited by an attacker to write arbitrary files to locations writable by the Dokku user. This includes the potential to overwrite critical files such as ~/.ssh/authorized_keys, thereby granting the attacker unrestricted shell access. Users are advised to upgrade to version 0.38.2 or later, where this vulnerability has been addressed.
Affected Version(s)
dokku < 0.38.2
