CVE-2026-45407

Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch

State
Published
Severity
5.0 Medium
Published
Jun 26, 2026
Updated
Jun 26, 2026
Reserved
May 12, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-522 Insufficiently Protected Credentials

Affected Products

ProductVersions
dokkudokku
  • < 0.38.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.