Skip to main content
← Vulnerabilities

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

4.8MediumCNA
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Not reported
Published
Last modified
10/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

Gitleaks, a tool for finding secrets in code, creates its --report-path scan report files with default permissions, so other local users on a shared host or CI runner who have a low-privilege account can read them. Unless --redact was passed, those reports contain plaintext secrets and the matching lines, which can expose the credentials the scan found.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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.

cve.now Index

10Pcve.now Index 10 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure?/25Unknown. No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity4.8/10CVSS 4.8
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 65 if added to CISA KEV
  • Would score about 60 if CISA's SSVC rates exploitation active
  • Would score about 32 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • gitleaks gitleaks

    through 8.30.1

Evidence 4

  1. Report
  2. Repository
  3. Repository
  4. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-124039

Is CVE-2026-124039 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-124039?

gitleaks: through 8.30.1.Source: cve.now feed data