# CVE-2026-45407: Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-06-26T16:21:25.215Z
- Modified: 2026-06-26T19:16:40.333Z
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dokku dokku: < 0.38.2; before 0.38.2

## Every score

- GitHub_M: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/dokku/dokku/security/advisories/GHSA-xh7p-9crg-pchr> (vendor-advisory)
- <https://github.com/dokku/dokku/pull/8589> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2026-45407](https://www.cve.org/CVERecord?id=CVE-2026-45407), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-45407](https://nvd.nist.gov/vuln/detail/CVE-2026-45407), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-45407 · Whole record: https://cve.day/CVE-2026-45407.json · Rebuilt by cve.day 2026-11-25T22:59:26.501Z
