VulnerabilityCVE-2026-87817GHSA-239g-whfq-7xj9WID-SEC-W-2026-3555:CVE-2026-87817WID-SEC-W-2026-4111:CVE-2026-87817
GitPython before 3.1.60 Remote Code Execution via Git Directory Impersonation
Not on CISA KEV
Summary
GitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can execute arbitrary code by placing a malicious pre-commit hook in the tracked hooks directory that
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)