cve.bz

CVE-2026-67324 gitpython project gitpython: OS Command Injection

9.3 criticalExploit referenceEPSS 0.5%Fix available

Critical (9.3) in gitpython project gitpython. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in gitpython 3.1.51.

On this page
GitPython 3.1.50 fails to recognize joined short-option forms such as -u<value> (the short form of --upload-pack=<value>) when enforcing its default unsafe-option gate. When an application passes attacker-influenced clone options into Repo.clone_from(..., multi_options=..., allow_unsafe_options=False), an attacker can supply -u<helper> to bypass the gate that blocks --upload-pack/-u, causing Git to execute the specified helper command during clone. Fixed in 3.1.51.

Severity

CVSS 4.0

9.3 critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-08-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-67324 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-67324?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-67324?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-67324 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
gitpython-developers GitPythonfrom 3.1.50 before 3.1.51

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v396-v7q4-x2qjPyPIgitpython>=3.1.50 <3.1.513.1.51
PYSEC-2026-3947PyPIgitpython>=3.1.50 <3.1.513.1.51

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-git3.1.30-1+deb12u3DEBIAN-CVE-2026-67324
Debian13python-git3.1.44-1+deb13u1DEBIAN-CVE-2026-67324
Debian14python-git3.1.61-1DEBIAN-CVE-2026-67324
Ubuntu26.10, Pro:14.04:LTS, Pro:16.04:LTS and 5 morepython-gitno fix listedUBUNTU-CVE-2026-67324
Red Hatansible_automation_platform:2.5::el8automation-controller-cli, automation-controller-venv-tower0:4.6.32-1.el8apRHSA-2026:59135
Red Hatansible_automation_platform:2.5::el8automation-gateway-server0:2.5.20260824-1.el8apRHSA-2026:59135
Red Hatansible_automation_platform:2.5::el8python3.12-aiohttp0:3.14.3-1.el8apRHSA-2026:59135
Red Hatansible_automation_platform:2.5::el8python3.12-gitpython0:3.1.59-1.el8apRHSA-2026:59135
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8python3.12-django0:5.2.17-1.el8apRHSA-2026:59135
Red Hatansible_automation_platform:2.5::el9automation-controller-cli, automation-controller-venv-tower0:4.6.32-1.el9apRHSA-2026:59135
Red Hatansible_automation_platform:2.5::el9automation-gateway-server0:2.5.20260824-1.el9apRHSA-2026:59135
Red Hatansible_automation_platform:2.5::el9python3.12-aiohttp0:3.14.3-1.el9apRHSA-2026:59135
Red Hatansible_automation_platform:2.5::el9python3.12-gitpython0:3.1.59-1.el9apRHSA-2026:59135
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9python3.12-django0:5.2.17-1.el9apRHSA-2026:59135
Red Hatansible_automation_platform:2.6::el9automation-controller-cli, automation-controller-venv-tower0:4.7.16-1.el9apRHSA-2026:59136
Red Hatansible_automation_platform:2.6::el9automation-platform-ui0:2.6.13-1.el9apRHSA-2026:59136
7 more for Red Hat in the JSON and on Red Hat's page.

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important because exploitation requires an application to invoke `Repo.clone_from()` with attacker-controlled `multi_options` while `allow_unsafe_options=False` is set. This precondition means an attacker must already have some influence over a Git-related workflow within the consuming application, rather than exploiting it through mere network access. This affects GitPython version 3.1.50.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.12-gitpython-0:3.1.59-1.el8apFixed 2026-08-24RHSA-2026:59135
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.12-gitpython-0:3.1.59-1.el9apFixed 2026-08-24RHSA-2026:59135
Red Hat Ansible Automation Platform 2.6 for RHEL 9python3.12-gitpython-0:3.1.59-1.el9apFixed 2026-08-24RHSA-2026:59136
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1788315638Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9:1788185839Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9:1788185798Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9:1788185733Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1788185436Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1788185842Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1788185848Fixed 2026-09-08RHSA-2026:65126
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Not affected
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Not affected
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Affected
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/controller-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/hub-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/controller-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/hub-rhel8Will not fix
35 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-67324.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON