Skip to content
OpenAdvisories
Low · 3.3 CVE-2026-124039 EUVD-2026-118440GHSA-w4h6-9gpx-7gm5

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

Published Nov 6, 2026 · Updated Nov 9, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
gitleaks gitleaks ≤ 8.30.1 —

References