PT-2026-52850 · Dokku · Dokku
CVSS v3.1
9.0
Critical
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Dokku versions prior to 0.38.2
Description
The
git:from-archive and certs:add commands extract user-supplied tar or zip archives into temporary directories without sanitizing member paths or preventing symlink traversal. Because GNU tar creates symlinks during extraction and follows them for subsequent entries, an attacker can write arbitrary files to any location writable by the dokku user, such as overwriting the ~/.ssh/authorized keys file to obtain unrestricted shell access.Recommendations
Update to version 0.38.2.
Exploit
Fix
Link Following
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dokku