Dokku
Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.0critical · scored by CNA · CWE-59
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
dokku dokku
- < 0.38.2
Fixed in 0.38.2
Mitigation
Upgrade dokku to 0.38.2 or later.
References
- Vendor advisory github.com/dokku/dokku/security/advisories/GHS…
- Patch github.com/dokku/dokku/pull/8591
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.