CVE Catalog

CVE-2026-73624

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Summary

GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.

Risk Assessment

An attacker could overwrite arbitrary files on the server, potentially leading to configuration changes, malicious code injection, or service disruption.

Recommendation

Upgrade GitPython to version 3.1.54 or later.

Original NVD description (English source)

GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS