CVE-2026-124039 PUBLISHED

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

Assigner: VulnCheck
Reserved: 06.11.2026 Published: 06.11.2026 Updated: 06.11.2026

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.

Metrics

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
CVSS Score: 4.8

Product Status

Vendor gitleaks
Product gitleaks
Versions Default: unaffected
  • affected from 0 to 8.30.1 (incl.)

Credits

  • George Chen finder

References

Problem Types

  • Incorrect Permission Assignment for Critical Resource CWE