---
title: "CVE-2026-114145: GitPython - Command Injection"
description: "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."
url: https://panop.io/threat-heartbeat/CVE-2026-114145/
---

# 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 ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-114145)

## 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](https://cwe.mitre.org/data/definitions/696.html)

## 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

- [https://nvd.nist.gov/vuln/detail/CVE-2026-114145](https://nvd.nist.gov/vuln/detail/CVE-2026-114145)
- [https://github.com/gitpython-developers/GitPython/commit/97eadb888d2f99567e3113f4e455be4ca128f697](https://github.com/gitpython-developers/GitPython/commit/97eadb888d2f99567e3113f4e455be4ca128f697)
- [https://github.com/gitpython-developers/GitPython/pull/2264](https://github.com/gitpython-developers/GitPython/pull/2264)
- [https://github.com/gitpython-developers/GitPython/releases/tag/3.2.1](https://github.com/gitpython-developers/GitPython/releases/tag/3.2.1)
- [https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-83vg-56qc-22m7](https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-83vg-56qc-22m7)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
