# CVE-2026-114145: python-git: GitPython is a python library used to interact with Git repositories

CVE-2026-114145 is fixed in python-git on 1 platform, first by DEBIAN-CVE-2026-114145, released October 25, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-114145
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0042
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 21, 2026

## Description

GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes _clone_repo() before safely rejecting the destination. In 3.1.x, _validate_repo_path() does not exist and the call succeeds silently, while in 3.2.0 and later affected revisions the check in git/index/base.py raises ValueError only after the clone has written to disk and does not remove the planted file. An attacker-controlled submodule can therefore place an executable post-checkout hook that a later Git operation executes. Exploitation requires an application to accept an untrusted submodule path and a clone destination such as .git/hooks that is empty enough for Git to clone into it, which commonly means that default sample hooks are absent. This issue is fixed in version 3.2.1.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-git Debian 12.15 (bookworm) | 3.1.30-1+deb12u3 | [DEBIAN-CVE-2026-114145](https://patchblox.com/security/data/fix/linux/debian-cve-2026-114145.md) | Oct 25, 2026 |
| Linux | python-git Debian 13.5 (trixie) | 3.1.44-1+deb13u1 | [DEBIAN-CVE-2026-114145](https://patchblox.com/security/data/fix/linux/debian-cve-2026-114145.md) | Oct 25, 2026 |
| Linux | python-git Debian 14 | 3.2.1-1 | [DEBIAN-CVE-2026-114145](https://patchblox.com/security/data/fix/linux/debian-cve-2026-114145.md) | Oct 25, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
