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

Published Jun 26, 2026
·
Updated

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/authorizedkeys to gain unrestricted shell access. This vulnerability is fixed in 0.38.2.

Affected Software

2 affected components
Dokku<0.38.2
Dokku Dokku<0.38.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade dokku to a version that resolves this vulnerability.

    Fixed in 0.38.2
  2. Compensating control

    Because this flaw can overwrite files such as ~/.ssh/authorized_keys to gain shell access, restrict any untrusted users from invoking Dokku commands that accept user-supplied tar/zip archives for git:from-archive and certs:add (or otherwise ensure only trusted inputs/tenants can submit those archives).

Event History

Jun 26, 2026
CVE Published
via MITRE·04:23 PM
Data Sourced
via MITRE·04:23 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-45405?

The severity of CVE-2026-45405 is rated as critical with a score of 9.

2

What vulnerability does CVE-2026-45405 describe?

CVE-2026-45405 describes an arbitrary file write vulnerability via tar symlink traversal in Dokku commands.

3

How do I fix CVE-2026-45405?

To fix CVE-2026-45405, update Dokku to version 0.38.2 or later, where this vulnerability has been addressed.

4

Which commands in Dokku are affected by CVE-2026-45405?

The git:from-archive and certs:add commands in Dokku are affected by CVE-2026-45405.

5

What type of applications are impacted by CVE-2026-45405?

Applications using Dokku as a platform-as-a-service (PaaS) can be impacted by CVE-2026-45405 due to symlink traversal risks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203