CVE-2026-87817

high Red Hat
CVSS v3 Base Score
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Characteristics
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Published: September 9, 2026 (1 days ago)
Last Modified: September 9, 2026
Vendor: Red Hat
Source: REDHAT

Description

A flaw was found in GitPython. This vulnerability allows a remote attacker to execute arbitrary code. By failing to properly validate the git directory location, GitPython allows attackers to impersonate the git directory using tracked files such as gitdir, commondir, and HEAD. An attacker can then place a malicious pre-commit hook in the tracked hooks directory, which executes when a victim calls index.commit() on a cloned or opened repository.

CWE

CWE-22

Affected Products

Exploit IntelligenceMigration Toolkit for Applications 8Red Hat AI Inference ServerRed Hat Ansible Automation Platform 2Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat Hardened ImagesRed Hat OpenShift AI (RHOAI)Red Hat OpenStack Platform 16.2Red Hat OpenStack Platform 17.1Red Hat Satellite 6

References