9.8Kritik

CVE-2026-78676GitPython before 3.1.59 Remote Code Execution via Config Injection

gitpython-developers GitPython Yayım: (2 ay önce)

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ünSürümler
gitpython project gitpython < 3.1.59
gitpython-developers GitPython < 3.1.59, fixed 3.1.59

Kaynaklar ve yamalar

CPE eşleşmeleri (NVD) (1)

  • cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* < 3.1.59