CVE-2026-73625
Received Received - Intake

GitPython Remote Code Execution via Option Smuggling

Vulnerability report for CVE-2026-73625, 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 a remote code execution vulnerability in the check_unsafe_options guard that can be bypassed by smuggling git options inside single-character kwarg values. Attackers can supply crafted option dictionaries to clone_from, fetch, pull, push, ls_remote, iter_commits, blame, or archive methods to execute arbitrary OS commands via the --upload-pack parameter.

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_developers gitpython to 3.1.54 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-73625 is a high-severity vulnerability in GitPython versions before 3.1.54. It allows remote code execution by bypassing a guard that checks for unsafe git options. Attackers can smuggle malicious git options inside single-character keyword argument values, such as n="--upload-pack=malicious_command". This bypasses the check_unsafe_options guard and executes arbitrary OS commands.

Detection Guidance

To detect this vulnerability, check the installed version of GitPython on your system. Run: pip show gitpython. If the version is 3.1.53 or earlier, the system is vulnerable. Additionally, review application logs for suspicious git command executions, especially those involving methods like clone_from, fetch, or push with unusual single-character keyword arguments.

Impact Analysis

If you use GitPython versions before 3.1.54, an attacker could exploit this to run arbitrary commands on your system. This could lead to data theft, system compromise, or unauthorized access. The impact includes high risk to confidentiality, integrity, and availability of affected systems.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, violating GDPR's integrity and confidentiality requirements or HIPAA's safeguards for protected health information. Non-compliance risks include fines, legal penalties, and reputational damage due to exposed sensitive data.

Mitigation Strategies

Immediately update GitPython to version 3.1.54 or later using: pip install --upgrade gitpython. If updating is not possible, restrict access to GitPython methods that accept user-controlled arguments or implement input validation to block single-character keyword arguments containing git options.

Chat Assistant

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

EPSS Chart