8.1Alta

CVE-2026-76219GitPython before 3.1.58 Arbitrary File Overwrite via read-tree

gitpython-developers GitPython Publicada: (hace 2 meses)

Descripción

GitPython versions before 3.1.58 contain an arbitrary file overwrite vulnerability in IndexFile.from_tree, IndexFile.reset, and IndexFile.merge_tree methods that append caller-influenced treeish strings to git read-tree without option validation or argument separation. Attackers can inject the --index-output option to overwrite arbitrary files with a valid git-index blob, destroying existing file content at attacker-controlled writable paths.

Debilidad (CWE): CWE-88

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
gitpython project gitpython < 3.1.58
gitpython-developers GitPython < 3.1.58, fixed 3.1.58

Referencias y parches

Coincidencias CPE (NVD) (1)

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