Vulnerability · Published Jun 26, 2026 · Assigned by GitHub_M
CVE-2026-45407Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch
Medium 5.0
In plain English
A medium-severity security flaw in dokku from dokku. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-522 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/dokku/dokku/security/advisories/GHSA-xh7p-9crg-pchr x_refsource_CONFIRM
- https://github.com/dokku/dokku/pull/8589 x_refsource_MISC