CVE-2026-124039

Gitleaks through 8.30.1 World-Readable Report Files via --report-path

  • Medium 4.8

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.

Key facts

Published
6 Nov 2026
Last changed
9 Nov 2026
Assigned by
VulnCheck
EPSS
0.096% likely to be exploited in the next 30 days, higher than 0.717% of CVEs (scores for 16 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 4.8CVSS 4.0, Mediumfrom the CNA (VulnCheck)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
  • 3.3CVSS 3.1, Lowfrom the CNA (VulnCheck)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
gitleaksgitleaks
  • Default status: unaffected
  • 0 up to and including 8.30.1 (affected)

Timeline

  1. 6 Nov 2026 Published

Weakness

References