CVE Explorer
CVE-2026-42284
GitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone() validates multi_options as the original list, then executes shlex.split(" ".join(multi_options)). A string like "--branch main --config core.hooksPath=/x" passes validation (starts with --branch), but after split becomes ["--branch", "main", "--config", "core.hooksPath=/x"]. Git applies the config and executes attacker hooks during clone. This issue has been patched in version 3.1.47.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"GitPython","vendor":"gitpython-developers","versions":[{"status":"affected","version":"< 3.1.47"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6049a7476d0d5e4d6ee040d5a347891e5f7b6410e65a3682ee47496c87414265 · sha256:d7bf2db455504013… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6049a7476d0d5e4d6ee040d5a347891e5f7b6410e65a3682ee47496c87414265 · sha256:d7bf2db455504013… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-88","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6049a7476d0d5e4d6ee040d5a347891e5f7b6410e65a3682ee47496c87414265 · sha256:d7bf2db455504013… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47","tags":["x_refsource_MISC"],"url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6049a7476d0d5e4d6ee040d5a347891e5f7b6410e65a3682ee47496c87414265 · sha256:d7bf2db455504013… · /containers/cna/references/1
{"name":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6049a7476d0d5e4d6ee040d5a347891e5f7b6410e65a3682ee47496c87414265 · sha256:d7bf2db455504013… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://www.tenable.com/cve/CVE-2026-32686"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6049a7476d0d5e4d6ee040d5a347891e5f7b6410e65a3682ee47496c87414265 · sha256:d7bf2db455504013… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.