All vulnerabilities

Servers and applications

CVE-2026-45405

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

Severity
High 8.8
Published
13 May 2026
Last changed
26 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.38.2
Exploit chance
0.5% in the next 30 daysHigher than 40% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Link following (CWE-59)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-j6qq-xg73-ghqg
Sources
NVD, Project advisories (GitHub)

Description

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 security issue applies to all installations and can be exploited by any Dokku user that can run the git:from-archive or certs:add commands.

From dokku/dokku's security advisory.

Affected software

SoftwareAffected versions
DokkuServers and applications · cpe:a:dokku:dokku
  • Every version before 0.38.2
DokkuServers and applications · github:dokku/dokku
  • Every version before 0.38.2

About Dokku

docker-powered PaaS software

From Wikidata, CC0 1.0.
Docker Hub pulls
444,121Docker Hub, 15 Nov 2026
GitHub stars
32,229GitHub, 15 Nov 2026
Forks
2,096GitHub, 15 Nov 2026
Latest release
v0.38.34GitHub, 15 Nov 2026
Released
30 Oct 2026GitHub
License
MIT LicenseWikidata
First published on GitHub
8 Jun 2013GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-45405
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-45405
  • GitHub Advisory Database https://github.com/advisories/GHSA-j6qq-xg73-ghqg
  • github.com https://github.com/dokku/dokku/security/advisories/GHSA-j6qq-xg73-ghqg