CVE-2026-124039
published medium CVSS 4.0 · 4.8Gitleaks through 8.30.1 World-Readable Report Files via --report-path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gitleaks | — | gitleaks0 through 8.30.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gitleaks | gitleaks | 0 through 8.30.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-732 Incorrect Permission Assignment for Critical Resource
References
4- https://github.com/gitleaks/gitleaks
- https://github.com/gitleaks/gitleaks/blob/v8.30.1/cmd/root.go#L474
- GitHub Issue #2299 https://github.com/gitleaks/gitleaks/issues/2299
- VulnCheck Advisory: Gitleaks through 8.30.1 World-Readable Report Files via --report-path https://www.vulncheck.com/advisories/gitleaks-through-8.30.1-world-readable-report-files-via-report-path
Provider assertions
2VulnCheck · cna
Gitleaks through 8.30.1 World-Readable Report Files via --report-path
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2d67b4a01abdd51dfc14f8fb590a844e215836d5bf308b5edba7e79e37e7c9f3
- Ingested
- 09 Nov 2026, 13:23:11 UTC
- Source record
- Official CVE record