CVE-2026-124039

MEDIUM CVSS 4.0: 4.8 EPSS 0.14%
Updated Nov 13, 2026
Gitleaks
Parameter Value
CVSS 4.8 (MEDIUM)
Type CWE-732 (Incorrect Permission Assignment)
Vendor Gitleaks
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Related Vulnerabilities