[ CVE-2026-124039 · Published 6 Nov 2026 ]
Vulnerability in gitleaks
[ Description ]Official 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.
[ Fixes ]How to fix it
None of our sources lists a fix, a fixed version or a vendor advisory yet. Check the references below and the vendor's support site, and limit who can reach the affected product until a fix is available.