CVE-2026-45407Published Jun 26, 2026 · Jun 26Updated Oct 28
Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch
dokku
Medium5.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dokku dokku |
| No fix yet |
Original 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.
From the CVE record · GitHub_M