Vulnerability
CVE-2026-87817
GitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can execute arbitrary code by placing a malicious pre-commit hook in the tracked hooks directory that executes when a victim calls index.commit() on a cloned or opened repository.
24 advisories report this vulnerability, across 8 ecosystems.
Advisories in Red Hat
-
RHSA-2026:71113
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
RHSA-2026:71114
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
-
RHSA-2026:74503
Red Hat Security Advisory: Satellite 6.19.5 Async Update
-
RHSA-2026:74504
Red Hat Security Advisory: Satellite 6.18.10 Async Update
-
RHSA-2026:74505
Red Hat Security Advisory: Satellite 6.17.12 Async Update
-
RHSA-2026:74506
Red Hat Security Advisory: Satellite 6.16.14 Async Update