CVSS 4.0
8.4 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:LHigh (8.4) in gitpython project gitpython. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in gitpython 3.1.58.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:LCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:Lgitpython (PyPI): fixed in 3.1.58Explain CVE-2026-76222 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-76222?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-76222?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-76222 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 CNA's record in the CVE List.
| Product | Affected |
|---|---|
| gitpython-developers GitPython | before 3.1.58 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-hmq2-w58f-27jc | PyPI | gitpython | <3.1.58 | 3.1.58 |
| PYSEC-2026-3784 | PyPI | gitpython | <3.1.58 | 3.1.58 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | python-git | 3.1.30-1+deb12u3 | DEBIAN-CVE-2026-76222 DLA-4872-1 |
| Debian | 13 | python-git | 3.1.44-1+deb13u1 | DEBIAN-CVE-2026-76222 DSA-6594-1 |
| Debian | 14 | python-git | 3.1.61-1 | DEBIAN-CVE-2026-76222 |
| Ubuntu | 26.10, Pro:14.04:LTS, Pro:16.04:LTS and 5 more | python-git | no fix listed | UBUNTU-CVE-2026-76222 |
| Red Hat | satellite:6.19::el9, satellite_capsule:6.19::el9 | ansible-core, ansible-test | 1:2.16.19-1.el9sat | RHSA-2026:63385 |
| Red Hat | satellite:6.19::el9, satellite_capsule:6.19::el9 | openvox-server | 0:8.15.2-1.el9sat | RHSA-2026:63385 |
| Red Hat | satellite:6.19::el9, satellite_capsule:6.19::el9 | python3.12-aiohttp, python3.12-aiohttp-debuginfo, python3.12-aiohttp-debugsource | 0:3.14.3-1.el9pc | RHSA-2026:63385 |
| Red Hat | satellite:6.19::el9, satellite_capsule:6.19::el9 | python3.12-gitpython | 0:3.1.59-1.el9pc | RHSA-2026:63385 |
| Red Hat | satellite:6.19::el9, satellite_capsule:6.19::el9, satellite_utils:6.19::el9 | rubygem-jwt | 0:2.10.3-1.el9sat | RHSA-2026:63385 |
| Red Hat | satellite_maintenance:6.19::el9 | ansible-core | 1:2.16.19-1.el9sat | RHSA-2026:63385 |
| 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 |
| openSUSE | Leap 16.0 | python-GitPython | 3.1.44-160000.4.1 | openSUSE-SU-2026:21874-1 |
| openSUSE | Tumbleweed | python-GitPython | 3.1.59-2.1 | openSUSE-SU-2026:11566-1 |
| Alpine | v3.24 | py3-gitpython | 3.1.61-r0 | ALPINE-CVE-2026-76222 |
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 · openSUSE · Alpine.
Red Hat rates this Important.
CVE-2026-76222 is a path-traversal flaw in GitPython submodule handling: cloning a malicious repository and initializing its submodules can create files or repositories outside the intended directory, because GitPython omits the suspicious-submodule-name guard that upstream core git enforces. Unlike the caller-gated GitPython option-forwarding flaws, this triggers during ordinary clone plus submodule initialization of an untrusted repository, so any Red Hat product that ships or bundles a vulnerable GitPython version is affected. Fixed in GitPython 3.1.58.
There is no mitigation beyond not cloning or initializing git submodules from untrusted repositories. Upgrade to GitPython 3.1.58 or later when it becomes available.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6.19 for RHEL 9 | python3.12-gitpython-0:3.1.59-1.el9pc | Fixed 2026-09-03 | RHSA-2026:63385 |
| Red Hat Ansible Automation Platform 2.5 | ansible-automation-platform-25/controller-rhel8:1789607021 | Fixed 2026-09-23 | RHSA-2026:71210 |
| Red Hat Ansible Automation Platform 2.6 | ansible-automation-platform-26/controller-rhel9:1789673739 | Fixed 2026-09-23 | RHSA-2026:71179 |
| Red Hat Ansible Automation Platform 2.7 | ansible-automation-platform-27/controller-rhel9:1789580684 | Fixed 2026-09-23 | RHSA-2026:71177 |
| Red Hat Ansible Automation Platform 2.7 | ansible-automation-platform-27/hub-rhel9:1791254555 | Fixed 2026-10-08 | RHSA-2026:79378 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-feature-server-rhel9:1792148523 | Fixed 2026-10-21 | RHSA-2026:87410 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1791869442 | Fixed 2026-10-21 | RHSA-2026:87410 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9:1791870787 | Fixed 2026-10-21 | RHSA-2026:87410 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9:1791867222 | Fixed 2026-10-21 | RHSA-2026:87410 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9:1791903144 | Fixed 2026-10-21 | RHSA-2026:87410 |
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Will not fix | |
| Exploit Intelligence | exploit-intelligence/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-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 | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/hub-rhel9 | Not affected | |
| 79 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-76222.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.