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.
History

Fri, 06 Nov 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Gitleaks
Gitleaks gitleaks
Vendors & Products Gitleaks
Gitleaks gitleaks

Fri, 06 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title Gitleaks through 8.30.1 World-Readable Report Files via --report-path
Weaknesses CWE-732
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 4.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-06T19:14:48.275Z

Updated: 2026-11-06T19:14:48.275Z

Reserved: 2026-11-06T19:08:41.309Z

Link: CVE-2026-124039

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T20:17:22.037

Modified: 2026-11-06T20:17:22.037

Link: CVE-2026-124039

cve-icon Redhat

No data.