8.8Yüksek

CVE-2026-87817GitPython before 3.1.60 Remote Code Execution via Git Directory Impersonation

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

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

Kaynaklar ve yamalar

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

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