CVE-2026-124039
JSON

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 packageVersionsReported by
gitleaks gitleaksup to 8.30.1CVE List

All scores

VulnCheck4.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-732

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-124039 changed 2026-11-09CVE Terms of Use
NVDCVE-2026-124039 changed 2026-11-12Public domain