CVE-2026-124039

Source
https://cve.org/CVERecord?id=CVE-2026-124039
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124039.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-124039
Published
2026-11-06T19:14:48Z
Modified
2026-11-14T02:30:29Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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 Calculator
Summary
Gitleaks through 8.30.1 World-Readable Report Files via --report-path
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-732"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124039.json"
}
References

Affected packages

Git / github.com/gitleaks/gitleaks

Affected ranges

Type
GIT
Repo
https://github.com/gitleaks/gitleaks
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "8.30.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "8.30.1"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

v0.*
v0.2.0
v0.3.0
v0.4.0
v1.*
v1.0.0
v1.1.1
v1.1.2
v1.10.0
v1.11.0
v1.11.1
v1.12.0
v1.12.1
v1.13.0
v1.14.0
v1.15.0
v1.16.0
v1.16.1
v1.17.0
v1.18.0
v1.19.0
v1.19.1
v1.19.2
v1.19.3
v1.2.0
v1.2.1
v1.20.0
v1.21.0
v1.22.0
v1.23.0
v1.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2
v8.8.0
v8.8.1
v8.8.10
v8.8.11
v8.8.12
v8.8.2
v8.8.3
v8.8.4
v8.8.5
v8.8.6
v8.8.7
v8.8.8
v8.8.9
v8.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124039.json"