CVE-2026-114145: GitPython · Incorrect Behavior Order
Affects GitPythonSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 3.2.1 soon.
Data as of 5 Dec 2026, 18:46 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.2.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.
What to do
Upgrade GitPython and gitpython to 3.2.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gitpython-developersGitPython | Affected
| Fixed in
|
PyPIgitpythonpkg:pypi/gitpythonOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in GitPython version 3.2.1. Users should upgrade to version 3.2.1 or later to remediate this issue. There are no vendor advisories indicating alternative mitigations or that no action is required. Until upgrading, applications should avoid accepting untrusted submodule paths or cloning into sensitive directories such as .git/hooks.
Description
GitPython versions prior to 3.2.1 contain a vulnerability in the create_submodule() function that allows an attacker to specify a submodule path such as .git/hooks. This can lead to the placement of an executable post-checkout hook that a subsequent Git operation executes. The issue arises because the repository cloning occurs before the path validation rejects unsafe destinations, and the planted file is not removed after the error is raised. This vulnerability is fixed in GitPython version 3.2.1.
References
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-83vg-56qc-22m7 (opens in a new tab)
- github.com/gitpython-developers/GitPython/pull/2264 (opens in a new tab)
- github.com/gitpython-developers/GitPython/commit/97eadb888d2f99567e3113f4e455be4ca128f697 (opens in a new tab)
- github.com/gitpython-developers/GitPython/releases/tag/3.2.1 (opens in a new tab)