Paper/Archive/CVE-2026-45405

CVE-2026-45405

dokku dokku — Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add

Description · from the CVE record

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

ProductAffectedFixed inSource
dokku< 0.38.2–CNA

Scores by source

GitHub_M (CNA)9.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/dokku/dokku/security/advisories/GHSA-j6qq-xg73-ghqgrefgithub.com/dokku/dokku/pull/8591