9.8Kritik
CVE-2026-78676GitPython before 3.1.59 Remote Code Execution via Config Injection
Açıklama
GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated GitPython config write, enabling arbitrary code execution via hook invocation.
Zayıflık türü (CWE):
CWE-88
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.59 | |
| gitpython-developers | GitPython | < 3.1.59, fixed 3.1.59 |
Kaynaklar ve yamalar
- GitHub Security Advisory (GHSA-284h-m62q-gf8w) vendor-advisoryExploitVendor AdvisoryMitigation
- VulnCheck Advisory: GitPython before 3.1.59 Remote Code Execution via Config Injection third-party-advisoryThird Party Advisory
CPE eşleşmeleri (NVD) (1)
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*< 3.1.59