What’s Vulnerable › Vulnerabilities
CVE-2026-45407: Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-26 · updated 2026-06-26
- Weakness: CWE-522
Description
Dokku is a docker-powered PaaS. Prior to 0.38.2, the git:auth command creates $DOKKU_ROOT/.netrc using bash's touch command, which applies the default umask of 0644. This pre-creation defeats the netrc binary's built-in 0600 permission setting, leaving git credentials readable by any local user who can traverse the dokku home directory. This vulnerability is fixed in 0.38.2.
Affected products
- dokku: before 0.38.2 — fixed in 0.38.2
How to fix
Upgrade to a fixed version: dokku 0.38.2. Check the vendor advisory for mitigations.
References
- https://github.com/dokku/dokku/pull/8589
- https://github.com/dokku/dokku/security/advisories/GHSA-xh7p-9crg-pchr
Get alerted when CVE-2026-45407 or the next vulnerability affects your stack