Skip to content

CVE-2026-124039 Gitleaks through 8.30.1 World-Readable Report Files via --report-path

MediumCVSS 4.8 EPSS 0.10%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
zricethezav github.com/zricethezav/gitleaks/v8 <= 8.30.1 after 8.30.1 Fixed

Affected products

ProductAffected versionsFixed in
zricethezav github.com/zricethezav/gitleaks/v8 <= 8.30.1 No fix listed

References