Bug 2568467 (CVE-2026-124039) - CVE-2026-124039 github.com/gitleaks/gitleaks: gitleaks: Credential disclosure via insecure report file permissions
Summary: CVE-2026-124039 github.com/gitleaks/gitleaks: gitleaks: Credential disclosure...
Keywords:
Status: NEW
Alias: CVE-2026-124039
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2569496
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-06 19:21 UTC by OSIDB Bzimport
Modified: 2026-11-10 12:16 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-06 19:21:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.