{"id":"CVE-2026-45407","state":"PUBLISHED","title":"Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch","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.","publishedAt":"2026-06-26T16:21:25.215Z","updatedAt":"2026-06-26T18:06:03.092Z","severity":{"score":5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["dokku dokku"],"affected":[{"vendor":"dokku","product":"dokku","versions":[{"version":"< 0.38.2","status":"affected"}]}],"references":["https://github.com/dokku/dokku/security/advisories/GHSA-xh7p-9crg-pchr","https://github.com/dokku/dokku/pull/8589"],"weaknesses":["CWE-522"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45407.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45407","state":"PUBLISHED","datePublished":"2026-06-26T16:21:25.215Z","dateUpdated":"2026-06-26T18:06:03.092Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-12T01:48:40.452Z"},"containers":{"cna":{"title":"Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch","descriptions":[{"lang":"en","value":"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":[{"vendor":"dokku","product":"dokku","versions":[{"version":"< 0.38.2","status":"affected"}]}],"references":[{"url":"https://github.com/dokku/dokku/security/advisories/GHSA-xh7p-9crg-pchr","name":"https://github.com/dokku/dokku/security/advisories/GHSA-xh7p-9crg-pchr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dokku/dokku/pull/8589","name":"https://github.com/dokku/dokku/pull/8589","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-522","lang":"en","description":"CWE-522: Insufficiently Protected Credentials","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-26T16:21:25.215Z"},"source":{"advisory":"GHSA-xh7p-9crg-pchr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-26T18:05:54.597071Z","id":"CVE-2026-45407","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-26T18:06:03.092Z"}}]}}}