CVE 5 MEDIUM

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

5 / 10
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

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.

Basic Information

ID CVE-2026-45407
Source GitHub_M
Published Jun 26, 2026 at 16:21

Affected Product

Vendor dokku
Product dokku
Version < 0.38.2
Affected Versions dokku dokku < 0.38.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.