CVE-2026-124039
4.8medium
Gitleaks through 8.30.1 World-Readable Report Files via --report-path
- Severity
- 4.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitleaks gitleaks | up to 8.30.1 | CVE List |
All scores
| VulnCheck | 4.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-124039 changed 2026-11-09 | CVE Terms of Use |
| NVD | CVE-2026-124039 changed 2026-11-12 | Public domain |