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

- Severity: Critical 9.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-06-26T16:23:05.454Z
- Modified: 2026-06-26T18:56:11.140Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dokku dokku: < 0.38.2; before 0.38.2

## Every score

- GitHub_M: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/dokku/dokku/security/advisories/GHSA-j6qq-xg73-ghqg> (vendor-advisory)
- <https://github.com/dokku/dokku/pull/8591> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2026-45405](https://www.cve.org/CVERecord?id=CVE-2026-45405), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-45405](https://nvd.nist.gov/vuln/detail/CVE-2026-45405), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-45405 · Whole record: https://cve.day/CVE-2026-45405.json · Rebuilt by cve.day 2026-11-25T22:59:26.500Z
