Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GitPython versions before 3.1.47 are vulnerable. The unsafe-option check for multi_options runs on the original list before shlex.split is applied, so a single string beginning with an allowed option can smuggle in a --config setting that git then applies, such as one pointing core.hooksPath at attacker-controlled hooks. An attacker who can supply input to multi_options in clone_from(), clone(), or Submodule.update() can run code during the clone. Upgrade to GitPython 3.1.47 or later. The source gives no workaround beyond not passing untrusted input to multi_options.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.1 | High | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0057, the 47th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 7 May 2026, 19:16 UTC Confirmed by NVD
- 31 Oct 2026, 14:11 UTC First seen by agentprime
- 31 Oct 2026, 14:11 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-x2qx-6953-8485
- OSV: GHSA-x2qx-6953-8485
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485
- nvd.nist.gov/vuln/detail/CVE-2026-42284
- github.com/gitpython-developers/GitPython
- github.com/gitpython-developers/GitPython/releases/tag/3.1.47
- www.tenable.com/cve/CVE-2026-32686