8.8Yüksek
CVE-2026-87817GitPython before 3.1.60 Remote Code Execution via Git Directory Impersonation
Açıklama
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 executes when a victim calls index.commit() on a cloned or opened repository.
Zayıflık türü (CWE):
CWE-94
Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.
Etkilenen ürünler ve sürümler
| Üretici | Ürün | Sürümler | |
|---|---|---|---|
| gitpython project | gitpython | < 3.1.60 | |
| gitpython-developers | GitPython | < 3.1.60, fixed 3.1.60 |
Kaynaklar ve yamalar
- GitHub Security Advisory (GHSA-239g-whfq-7xj9) vendor-advisoryExploitMitigationVendor Advisory
- VulnCheck Advisory: GitPython before 3.1.60 Remote Code Execution via Git Directory Impersonation third-party-advisoryThird Party Advisory
CPE eşleşmeleri (NVD) (1)
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*< 3.1.60