All vulnerabilities

Go

CVE-2026-124039

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

Severity
Medium 4.8
Published
6 Nov 2026
Last changed
9 Nov 2026
Added to UpHeron
23 Nov 2026
Exploit chance
under 0.1% in the next 30 daysEPSS by FIRST, 24 Nov 2026
Weakness
Incorrect permissions on a critical resource (CWE-732)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read some data
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
github.com/zricethezav/gitleaks/v8Go · osv:Go:github.com/zricethezav/gitleaks/v8
  • Every version up to 8.30.1

About github.com/zricethezav/gitleaks/v8

This is the only vulnerability in github.com/zricethezav/gitleaks/v8 in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-124039