cbcvebase.
CVE-2026-42284
published 2026-05-07

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…

PriorityP353critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.57%
46.0th percentile
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.

Affected

48 ranges· showing 25
VendorProductVersion rangeFixed in
ansible-automation-platform-24controller-rhel8——
ansible-automation-platform-24hub-rhel8——
ansible-automation-platform-25controller-rhel8——
ansible-automation-platform-26controller-rhel9——
ansible-automation-platform-26hub-rhel9——
ansible-automation-platform-27controller-rhel9——
ansible-automation-platform-27hub-rhel9——
exploit-intelligence-tech-previewvulnerability-analysis-rhel9——
gitpython-developersgitpython< 3.1.473.1.47
gitpython_projectgitpython< 3.1.473.1.47
gitpython_projectgitpython——
gitpython_projectgitpython>= 0 < 3.1.473.1.47
gitpython_projectgitpython>= 3.1.50 < 3.1.513.1.51
mtamta-solution-server-rhel9——
rhaiisvllm-cpu-rhel9——
rhaiisvllm-tpu-rhel9——
rhelai3bootc-cuda-rhel9——
rhelai3bootc-gaudi-rhel9——
rhelai3bootc-rocm-rhel9——
rhelai3disk-image-cuda-rhel9——
rhoaiodh-mlflow-rhel9——
rhoaiodh-pipeline-runtime-datascience-cpu-py312-rhel9——
rhoaiodh-pipeline-runtime-pytorch-cuda-py312-rhel9——
rhoaiodh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9——
rhoaiodh-pipeline-runtime-pytorch-rocm-py312-rhel9——

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vendor_redhat9.8CRITICAL
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.