CVE-2026-42284
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•HIGH•Score: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.57%• Percentile: 46%
Techniques & Countermeasures
- CWE-88•Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Affected Systems
- chainguard•awx
< 24.6.1-r35
- chainguard•checkov
< 3.2.525-r0
- chainguard•datahub-ingestion-fips
< 1.5.0.1-r2
- chainguard•mlflow
< 3.11.1-r0 | < 3.16.0-r0
- chainguard•mlflow-fips
< 3.11.1-r0
- chainguard•opal
< 0.9.5-r0
- chainguard•open-webui
< 0.8.12-r4 | < 0.9.2-r0
- wolfi•checkov
< 3.2.525-r0
- wolfi•mlflow
< 3.11.1-r0 | < 3.16.0-r0
- wolfi•open-webui
< 0.8.12-r4 | < 0.9.2-r0
- debian•python-git
all | all | all | < 3.1.50-1
- gitpython_project•gitpython
< 3.1.47
- gitpython-developers•gitpython
< 3.1.47
- PyPI•gitpython
< 3.1.47
References (7)
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47
- https://www.tenable.com/cve/CVE-2026-32686
- https://nvd.nist.gov/vuln/detail/CVE-2026-42284
- https://security-tracker.debian.org/tracker/CVE-2026-42284
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42284.json