freenode

← CVE tracker

CVE-2026-124039

Gitleaks through 8.30.1 World-Readable Report Files via --report-path

Severity
medium CVSS 4.8 (v4.0)
Affects
gitleaks
Weakness
CWE-732: Incorrect Permission Assignment for Critical Resource
Published
6 November 2026 by VulnCheck
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.