MEDIUM 4.8 NVD
CVE-2026-124039
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 -
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.
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-report-files-v
This medium severity vulnerability with a CVSS score of 4.8 was published on 2026-11-06 via NVD.
vulnfeed aggregates 16326 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.