CVE-2026-42284
criticalGitPython is a python library used to interact with Git repositories.
Vendor / product: Gitpython Project — gitpython
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
9.8
9.8 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-05-07 19:16
Modified: 2026-11-11 23:10
NVD status: Modified
Last synced 3 hours ago
Verified against the source API 2026-11-11 23:13 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
gitpython_project / gitpython <3.1.47
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Vendor advisory: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485
Patch / mitigation: https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47
References
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47 security-advisories@github.com
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485 security-advisories@github.com
- https://www.tenable.com/cve/CVE-2026-32686 134c704f-9b21-4f2e-91b3-4a467353bcc0
Data sources
NVD CVE API 2.0 — fetched 2026-11-11 23:13 UTC · record ↗

