CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in gitpython project gitpython. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in gitpython 3.1.47.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hgitpython (PyPI): fixed in 3.1.47Explain CVE-2026-42284 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42284?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42284?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42284 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gitpython_project:gitpython | before 3.1.47 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-x2qx-6953-8485 | PyPI | gitpython | <3.1.47 | 3.1.47 |
| PYSEC-2026-2161 | PyPI | gitpython | <3.1.47 | 3.1.47 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | python-git | 3.1.30-1+deb12u3 | DEBIAN-CVE-2026-42284 DLA-4872-1 |
| Debian | 13 | python-git | 3.1.44-1+deb13u1 | DEBIAN-CVE-2026-42284 DSA-6594-1 |
| Debian | 14 | python-git | 3.1.50-1 | DEBIAN-CVE-2026-42284 |
| Ubuntu | 25.10, 26.10 | python-git | no fix listed | UBUNTU-CVE-2026-42284 |
| Ubuntu | Pro:14.04:LTS | python-git | 0.3.2~RC1-3ubuntu0.1~esm3 | USN-8303-1 |
| Ubuntu | Pro:16.04:LTS | python-git | 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4 | USN-8303-1 |
| Ubuntu | Pro:18.04:LTS | python-git | 2.1.8-1ubuntu0.1~esm4 | USN-8303-1 |
| Ubuntu | Pro:20.04:LTS | python-git | 3.0.7-1ubuntu0.1~esm4 | UBUNTU-CVE-2026-42284 USN-8303-1 |
| Ubuntu | Pro:22.04:LTS | python-git | 3.1.24-1ubuntu0.1~esm3 | UBUNTU-CVE-2026-42284 USN-8303-1 |
| Ubuntu | Pro:24.04:LTS | python-git | 3.1.37-3ubuntu0.1~esm2 | UBUNTU-CVE-2026-42284 USN-8303-1 |
| Ubuntu | Pro:26.04:LTS | python-git | 3.1.46-1ubuntu0.1~esm1 | UBUNTU-CVE-2026-42284 USN-8303-1 |
| Red Hat | ansible_automation_platform:2.5::el8 | ansible-core, ansible-test | 1:2.16.19-1.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-controller, automation-controller-ui, automation-controller-cli and 2 more | 0:4.6.30-2.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-eda-controller, automation-eda-controller-base, automation-eda-controller-base-services and 2 more | 0:1.1.20-1.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-gateway, automation-gateway-config, automation-gateway-server | 0:2.5.20260715-1.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-hub, python3.12-galaxy-ng | 0:4.10.16-1.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | python3.12-gitpython | 0:3.1.50-1.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | python3.12-pulp-ansible | 1:0.25.6-1.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | python3.12-pulp-container | 0:2.19.12-1.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | python3.12-pulpcore | 0:3.49.63-2.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | python3.12-pyjwt, python3.12-pyjwt+crypto | 0:2.13.0-1.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | python3.12-pysequoia, python3.12-pysequoia-debuginfo, python3.12-pysequoia-debugsource | 0:0.1.34-1.el8ap | RHSA-2026:42078 |
| Red Hat | ansible_automation_platform:2.5::el8 | receptor, receptorctl, receptor-debuginfo and 1 more | 0:1.6.6-1.el8ap | RHSA-2026:42078 |
| 97 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 more | python-GitPython | 3.1.34.1693646983.2a2ae77-150400.9.8.1 | SUSE-SU-2026:4072-1 |
| Alpine | v3.23, v3.24 | py3-gitpython | 3.1.49-r0 | ALPINE-CVE-2026-42284 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.
Red Hat rates this Important.
This Important vulnerability in GitPython allows for arbitrary code execution during Git clone operations within Red Hat products that utilize the library. The flaw stems from insufficient validation of user-supplied input to the `_clone()` function, enabling an attacker to inject malicious Git configurations, such as `core.hooksPath`, and execute arbitrary code. Exploitation requires an application to process untrusted input through GitPython's cloning functionalities.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | python3.12-gitpython-0:3.1.50-1.el8ap | Fixed 2026-07-20 | RHSA-2026:42078 |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | python3.12-gitpython-0:3.1.50-1.el9ap | Fixed 2026-07-20 | RHSA-2026:42078 |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | python3.12-gitpython-0:3.1.50-1.el9ap | Fixed 2026-07-20 | RHSA-2026:42079 |
| Red Hat Satellite 6.16 for RHEL 8 | foreman-0:3.12.0.23-1.el8sat | Fixed 2026-10-01 | RHSA-2026:74506 |
| Red Hat Satellite 6.16 for RHEL 8 | python-dynaconf-0:3.2.13-1.el8pc | Fixed 2026-10-01 | RHSA-2026:74506 |
| Red Hat Satellite 6.16 for RHEL 8 | python-gitpython-0:3.1.62-1.el8pc | Fixed 2026-10-01 | RHSA-2026:74506 |
| Red Hat Satellite 6.16 for RHEL 8 | python-lxml-0:4.9.2-5.el8pc | Fixed 2026-10-01 | RHSA-2026:74506 |
| Red Hat Satellite 6.16 for RHEL 8 | python-pulpcore-0:3.49.39-4.el8pc | Fixed 2026-10-01 | RHSA-2026:74506 |
| Red Hat Satellite 6.16 for RHEL 8 | python-sqlparse-0:0.6.0-1.el8pc | Fixed 2026-10-01 | RHSA-2026:74506 |
| Red Hat Satellite 6.16 for RHEL 8 | rubygem-foreman_remote_execution-0:13.2.8-2.el8sat | Fixed 2026-10-01 | RHSA-2026:74506 |
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Affected | |
| Migration Toolkit for Applications 8 | mta/mta-solution-server-rhel9 | Not affected | |
| Pen Drive Powered by Red Hat Lightspeed | pen-drive/pen-drive-scanner-rhel9 | Not affected | |
| Red Hat AI Inference Server | rhaiis/vllm-cpu-rhel9 | Will not fix | |
| Red Hat AI Inference Server | rhaiis/vllm-cuda-rhel9 | Not affected | |
| Red Hat AI Inference Server | rhaiis/vllm-rocm-rhel9 | Not affected | |
| Red Hat AI Inference Server | rhaiis/vllm-tpu-rhel9 | Will not fix | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/controller-rhel8 | Will not fix | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/hub-rhel8 | Will not fix | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/hub-rhel8 | Not affected | |
| 134 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42284.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.