CVE-2026-124039
Gitleaks through 8.30.1 World-Readable Report Files via --report-path
CVSS Score
3.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-732 |
| Vendor | gitleaks |
| Product | gitleaks |
| Published | Nov 6, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitleaks gitleaks
Be the first to know when new low vulnerabilities affecting gitleaks gitleaks are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected Versions
gitleaks / gitleaks
0 โค 8.30.1
References
github.com: https://github.com/gitleaks/gitleaks/issues/2299 github.com: https://github.com/gitleaks/gitleaks github.com: https://github.com/gitleaks/gitleaks/blob/v8.30.1/cmd/root.go#L474 vulncheck.com: https://www.vulncheck.com/advisories/gitleaks-through-8.30.1-world-readable-report-files-via-report-path
Credits
George Chen