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.

Project Subscriptions

Vendors Products
Gitleaks Subscribe
Gitleaks Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 11 Nov 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-276
References
Metrics threat_severity

None

threat_severity

Low


Mon, 09 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T13:17:23.098Z

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

Link: CVE-2026-124039

cve-icon Vulnrichment

Updated: 2026-11-09T13:17:19.396Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-11-12T21:30:23.870

Link: CVE-2026-124039

cve-icon Redhat

Severity : Low

Publid Date: 2026-11-06T19:14:48Z

Links: CVE-2026-124039 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-15T10:00:08Z

Weaknesses