CVE-2026-114145 GitPython - Command Injection

GitPython prior to 3.2.1 contains a code injection vulnerability caused by unsafe handling of attacker-controlled submodule paths in create_submodule(), letting attackers plant executable Git hooks, exploit requires untrusted submodule path acceptance and empty clone destination.

CVSS base score 7.5 /10
High
CISA KEV
Not listed
Public exploit
None known
View the NVD record ↗

Details

Type
Command Injection
Impact
Remote Code Execution
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
21 October 2026
Updated
22 October 2026
Weakness
CWE-696

Vendor fix

Update to version 3.2.1 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs