CVE-2026-73624
Received Received - Intake

Arbitrary File Overwrite in GitPython via Diffable.diff Method

Vulnerability report for CVE-2026-73624, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gitpython gitpython to 3.1.54 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

GitPython versions before 3.1.54 have an arbitrary file overwrite vulnerability in the Diffable.diff method. The method fails to validate git options passed through kwargs, allowing attackers to supply the --output argument to write patch content to attacker-chosen file paths at process privilege level.

Detection Guidance

Check GitPython version with pip show gitpython. If version is less than 3.1.54, the system is vulnerable. Search for suspicious git diff commands using process monitoring tools like ps, top, or auditd for commands containing --output or output= arguments.

Impact Analysis

Attackers can overwrite critical system files like ~/.ssh/authorized_keys or configuration files, leading to full file corruption or compromise at the process privilege level. No user interaction is required for exploitation.

Mitigation Strategies

Upgrade GitPython to version 3.1.54 or later immediately. Review and audit any scripts or applications using GitPython for unsafe argument passing. Implement input validation for all git command arguments in your code.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-73624. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart