CVE-2026-45405CWE-59

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

Critical · published June 26, 2026

CVSS v3.1
9.0
EPSS
0%
Percentile
38.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00458 · 38.7th percentile
Weakness
CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-06-26T16:23Z
EPSS history
Timeline
  • 26 JUN 16:23Z
    Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add
    cvelistv5