Cloudanix VulnDB

CVE-2026-67325

High · 8.8

CVSS

8.8

EPSS

2.2%

Published

Aug 1, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A bug in a widely used Python tool for working with Git code repositories can let attackers run their own programs on the computer if they can feed it certain inputs.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Command Injection
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Incomplete blocklist in GitPython allows bypassing unsafe git option guards via long-option prefix abbreviation (e.g., upload_p for upload_pack), resulting in execution of arbitrary commands during git operations.

Why it matters to the business

Attackers can achieve remote code execution in systems relying on affected Red Hat packages for automation or development workflows, potentially leading to data compromise or operational disruption; low urgency due to stable low EPSS and no KEV listing, though widespread use in Red Hat ecosystems increases exposure risk.

How an attack unfolds

An attacker identifies a vulnerable application using GitPython to perform git operations, supplies crafted input containing abbreviated dangerous options such as upload_p, bypasses the incomplete blocklist, and causes git to resolve and execute arbitrary commands.

How to fix it

Upgrade to fixed versions listed in RHSA-2026:44416: python3.12-gitpython 3.1.59-1.el8ap or 3.1.59-1.el9ap, ansible-automation-platform hub-rhel9:1787220598, llvm21-main 21.1.8-8.hum1, llvm-main 22.1.8-4.1.hum1, or swift-lang-main 6.3.3-0.1.1.hum1.

How to confirm the fix worked

Verify installed package versions match or exceed the fixed releases from RHSA-2026:44416; test git operations with abbreviated options to confirm blocklist enforcement.

Typical attack path

  1. Identify application using vulnerable GitPython version
  2. Supply input containing abbreviated git long options (e.g., upload_p)
  3. Trigger the git operation via the library
  4. Bypass blocklist and execute arbitrary commands via git

How to detect it

Review application and system logs for git subprocess invocations containing abbreviated option prefixes; inspect Python process trees and command-line arguments for unexpected git activity or child process spawns.

  • upload_p
  • receive_p
  • git .*upload_p
  • git .*receive_p

What your security team should do

  • Apply RHSA-2026:44416 updates to all affected Red Hat packages
  • Audit code and dependencies for direct or indirect use of GitPython git operations
  • Implement runtime monitoring for unexpected git subprocess executions

The record

GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_p instead of upload_pack, which git resolves to dangerous options and executes arbitrary commands.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities