Skip to content

CVE-2026-45405 Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add

HighCVSS 8.8 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Docker

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
dokku < 0.38.2; = < 0.38.2 0.38.2 Fixed

Affected products

ProductAffected versionsFixed in
dokku = < 0.38.2 No fix listed
dokku < 0.38.2 0.38.2

References