{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-45405: Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-45405","status":"final","version":"1","initial_release_date":"2026-06-26T16:23:05.454Z","current_release_date":"2026-06-26T16:50:07.854Z","revision_history":[{"date":"2026-06-26T16:23:05.454Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-45405 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-45405"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-45405"},{"category":"external","summary":"https://github.com/dokku/dokku/security/advisories/GHSA-j6qq-xg73-ghqg","url":"https://github.com/dokku/dokku/security/advisories/GHSA-j6qq-xg73-ghqg"},{"category":"external","summary":"https://github.com/dokku/dokku/pull/8591","url":"https://github.com/dokku/dokku/pull/8591"}]},"product_tree":{"branches":[{"category":"vendor","name":"dokku","branches":[{"category":"product_name","name":"dokku","branches":[{"category":"product_version","name":"< 0.38.2","product":{"name":"dokku dokku < 0.38.2","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:dokku:dokku:\\<_0.38.2:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-45405","title":"Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","baseScore":9,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}