CVE-2026-124039: Gitleaks through 8.30.1 contains an incorrect permission assignment vulnerability that allows local users to r
CVE-2026-124039 is a low-severity flaw (CVSS 3.3) affecting gitleaks. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.3 (Low) |
| EPSS exploit chance | n/a |
| CISA exploited list | No |
| Weakness | CWE-732 |
| Published | 2026-11-06 |
| Last modified | 2026-11-06 |
Last updated 2026-11-06 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-124039?
gitleaks: upgrade to newer than 8.30.1. Exact commands for each OS are on this page.
Is CVE-2026-124039 being exploited?
CVE-2026-124039 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-124039 affect?
CVE-2026-124039 affects gitleaks. Severity is low (CVSS 3.3). 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 pas
How urgent is CVE-2026-124039?
Priority 12/100. No elevated risk signals yet.