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.
Severity (CVSS)
| Base score | 5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-522 — CWE-522: Insufficiently Protected Credentials
Affected products
| Vendor | Product | Versions |
|---|---|---|
| dokku | dokku | < 0.38.2 |
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)
Generated from the official CVE List on 27 Jun 2026 07:02 UTC.