Vulnerability 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.
CVSS Score
LOW
Related Weaknesses (CWE)
References
- https://github.com/gitleaks/gitleaks
- https://github.com/gitleaks/gitleaks/blob/v8.30.1/cmd/root.go#L474
- https://github.com/gitleaks/gitleaks/issues/2299
- https://www.vulncheck.com/advisories/gitleaks-through-8.30.1-world-readable-repo
FAQ
What is CVE-2026-124039?
CVE-2026-124039 is a vulnerability with a CVSS score of 3.3 (LOW). 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 def...
How severe is CVE-2026-124039?
CVE-2026-124039 has been rated LOW with a CVSS base score of 3.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-124039?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.