Argument injection in GitPython - #VU152990

 

Argument injection in GitPython - #VU152990

Published: September 30, 2026


Vulnerability identifier: #VU152990
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-88
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary commands.

The vulnerability exists due to improper neutralization of argument delimiters in GitPython Remote.pull() when processing attacker-influenced refspec values. A remote attacker can supply an option-shaped refspec that bypasses the unsafe-option guard to execute arbitrary commands.

Exploitation requires a local filesystem path or SSH transport, where the supplied upload-pack program is executed on the local side.


Affected software

GitPython

Remediation

Install security update from vendor's website.

GitPython - update to 3.2.0

External References

Related Security Bulletins