CVE-2026-114145: GitPython validates a submodule's ".git" path only after cloning into it (RCE)
Vulnerability summary
CVE-2026-114145 is a high (CVSS 7.5) Incorrect Behavior Order vulnerability in gitpython-developers gitpython. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 36.6% of scored vulnerabilities.
Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 21-10-2026PublishedVulnerability first disclosed.
- 23-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard11 products
- awxAll versions (No fix recorded) | < 24.6.1-r75
- nemo-gym< 0.5.0_rc0_git20260729-r10
- nemo-rl-cuda-13.0All versions (No fix recorded) | < 0.7.0-r20
- nemo-rl-cuda-13.0-automodelAll versions (No fix recorded) | < 0.7.0-r20
- nemo-rl-cuda-13.0-mcore< 0.7.0-r20
Debian1 product
- python-gitAll versions (No fix recorded) | < 3.1.30-1+deb12u3 | < 3.1.44-1+deb13u1 | < 3.2.1-1
Gitpython-developers1 product
- gitpython< 3.2.1
PyPI1 product
- gitpython< 3.2.1
Ubuntu1 product
- python-gitAll versions (No fix recorded)
5 vendors · 15 products
References
10 links- github.com/gitpython-developers/GitPython/security/advisories/GHSA-83vg-56qc-22m7X Refsource CONFIRMWEBAdvisoryREPORT