Improper Validation of Specified Type of Input in GitPython - #VU152988

 

Improper Validation of Specified Type of Input in GitPython - #VU152988

Published: September 30, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to inject unsafe command-line options.

The vulnerability exists due to improper validation of specified input type in Repo.merge_base when forwarding caller-controlled revision arguments and keyword arguments to git merge-base. A remote attacker can supply unsafe keyword arguments to inject unsafe command-line options.

User interaction is required. Non-128 Git command errors are converted to an empty result.


Affected software

GitPython

Remediation

Install security update from vendor's website.

GitPython - update to 3.2.0

External References

Related Security Bulletins