CVE-2026-45407
published medium CVSS 3.1 · 5.0Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dokku | — | dokku< 0.38.2 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dokku | dokku | < 0.38.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-522 CWE-522: Insufficiently Protected Credentials
References
2Provider assertions
2GitHub_M · cna
Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bdd724eaad2d9f32170737cb77e84d2944a82583c5e4f6a5e883a65b0c235db5
- Ingested
- 23 Sep 2026, 09:15:37 UTC
- Source record
- Official CVE record