CVE-2026-76218: gitpython_project gitpython Argument Injection
Vulnerability summary
CVE-2026-76218 is a high (CVSS 8.8) Argument Injection vulnerability in gitpython_project gitpython. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 56.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 19-08-2026PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
Description
GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code when git operations are performed on the initialized repository.
CVSS metrics
10 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.7HighCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST7.7HighCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVE.orgCNA7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
+0.11 pp
From 0.72% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGitpython
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard4 products
- awx< 24.6.1-r49
- checkov< 3.3.9-r1
- mlflow< 3.16.0-r0
- opal< 0.9.6-r5
Wolfi2 products
- checkov< 3.3.9-r1
- mlflow< 3.16.0-r0
Debian1 product
- python-gitAll versions (No fix recorded) | < 3.1.61-1
Gitpython_project1 product
- gitpython< 3.1.58
Gitpython-developers1 product
- gitpython< 3.1.58
PyPI1 product
- gitpython< 3.1.58
Ubuntu1 product
- python-gitAll versions (No fix recorded)
7 vendors · 11 products
References
13 links- github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77rVendor AdvisoryWEBREPORTAdvisoryExploit
- www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-repo-initThird Party AdvisoryWEBAdvisory
- pypi.org/project/gitpythonPACKAGE