Vulnerability in Gitleaks

CVE-2026-124039

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.

Published .

CVSS v3 metric

CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-124039?
CVE-2026-124039 is a low-severity vulnerability in Gitleaks, classified under Incorrect Permission Assignment for Critical Resource. CVSS score: 3.3/10. Published 2026-11-06.
How severe is CVE-2026-124039?
Low severity. CVSS v3 base score is 3.3 out of 10.