P4 · InfoCVSS 3.3
Gitleaks through 8.30.1 World-Readable Report Files via --report-path
- CVE-2026-124039
- GHSA-w4h6-9gpx-7gm5
- EUVD-2026-118440
Description
Gitleaks through 8.30.1 contains an incorrect permission assignment vulnerability that allows local users to read scan reports because cmd/root.go creates the --report-path file with os.Create and default permissions. Unless --redact is passed, other local users on shared hosts or CI runners can read plaintext secrets and matching lines to obtain discovered credentials.
Text from the CVE.org record.
Affected
gitleaks
- up to 8.30.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.