Bug 2509976 (CVE-2026-67323) - CVE-2026-67323 gitpython: GitPython: Arbitrary code execution via command injection due to unguarded Git options
Summary: CVE-2026-67323 gitpython: GitPython: Arbitrary code execution via command inj...
Keywords:
Status: NEW
Alias: CVE-2026-67323
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2513715
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-01 13:01 UTC by OSIDB Bzimport
Modified: 2026-09-23 21:06 UTC (History)
46 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:59135 0 None None None 2026-08-24 16:26:06 UTC
Red Hat Product Errata RHSA-2026:59136 0 None None None 2026-08-24 16:27:48 UTC
Red Hat Product Errata RHSA-2026:71113 0 None None None 2026-09-23 20:49:35 UTC
Red Hat Product Errata RHSA-2026:71114 0 None None None 2026-09-23 21:06:13 UTC

Description OSIDB Bzimport 2026-08-01 13:01:18 UTC
GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.

Comment 3 errata-xmlrpc 2026-08-24 16:26:03 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.5 for RHEL 9
  Red Hat Ansible Automation Platform 2.5 for RHEL 8

Via RHSA-2026:59135 https://access.redhat.com/errata/RHSA-2026:59135

Comment 4 errata-xmlrpc 2026-08-24 16:27:45 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.6 for RHEL 9
  Red Hat Ansible Automation Platform 2.6 for RHEL 10

Via RHSA-2026:59136 https://access.redhat.com/errata/RHSA-2026:59136

Comment 6 Jon Orris 2026-09-23 20:49:32 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.6 for RHEL 10
  Red Hat Ansible Automation Platform 2.6 for RHEL 9

Via RHSA-2026:71113 https://access.redhat.com/errata/RHSA-2026:71113

Comment 7 Jon Orris 2026-09-23 21:06:10 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.5 for RHEL 9
  Red Hat Ansible Automation Platform 2.5 for RHEL 8

Via RHSA-2026:71114 https://access.redhat.com/errata/RHSA-2026:71114


Note You need to log in before you can comment on or make changes to this bug.