{"id":"CVE-2026-124039","published":"2026-11-06T20:17:22.037","lastModified":"2026-11-09T14:17:14.503","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.","cvssScore":3.3,"cvssSeverity":"LOW","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","cwes":["CWE-732"],"vendors":[],"products":[],"references":[{"url":"https://github.com/gitleaks/gitleaks","tags":[]},{"url":"https://github.com/gitleaks/gitleaks/blob/v8.30.1/cmd/root.go#L474","tags":[]},{"url":"https://github.com/gitleaks/gitleaks/issues/2299","tags":[]},{"url":"https://www.vulncheck.com/advisories/gitleaks-through-8.30.1-world-readable-report-files-via-report-path","tags":[]}],"exploitRefs":[{"url":"https://github.com/gitleaks/gitleaks","tags":[]},{"url":"https://github.com/gitleaks/gitleaks/blob/v8.30.1/cmd/root.go#L474","tags":[]},{"url":"https://github.com/gitleaks/gitleaks/issues/2299","tags":[]}],"hasPoc":true,"ai":null}