Bug 2558563 (CVE-2026-114145) - CVE-2026-114145 GitPython: GitPython: arbitrary code execution via improper submodule path validation
Summary: CVE-2026-114145 GitPython: GitPython: arbitrary code execution via improper s...
Keywords:
Status: NEW
Alias: CVE-2026-114145
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-21 20:51 UTC by OSIDB Bzimport
Modified: 2026-11-19 19:30 UTC (History)
42 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:100715 0 None None None 2026-11-19 19:29:59 UTC
Red Hat Product Errata RHSA-2026:95655 0 None None None 2026-11-05 19:45:13 UTC
Red Hat Product Errata RHSA-2026:95656 0 None None None 2026-11-05 19:41:35 UTC
Red Hat Product Errata RHSA-2026:95657 0 None None None 2026-11-05 19:43:51 UTC

Description OSIDB Bzimport 2026-10-21 20:51:54 UTC
GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes _clone_repo() before safely rejecting the destination. In 3.1.x, _validate_repo_path() does not exist and the call succeeds silently, while in 3.2.0 and later affected revisions the check in git/index/base.py raises ValueError only after the clone has written to disk and does not remove the planted file. An attacker-controlled submodule can therefore place an executable post-checkout hook that a later Git operation executes. Exploitation requires an application to accept an untrusted submodule path and a clone destination such as .git/hooks that is empty enough for Git to clone into it, which commonly means that default sample hooks are absent. This issue is fixed in version 3.2.1.

Comment 2 Jon Orris 2026-11-05 19:41:33 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.17 for RHEL 9

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

Comment 3 Jon Orris 2026-11-05 19:43:48 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.18 for RHEL 9

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

Comment 4 Jon Orris 2026-11-05 19:45:10 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.16 for RHEL 8
  Red Hat Satellite 6.16 for RHEL 9

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

Comment 5 errata-xmlrpc 2026-11-19 19:29:56 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:100715 https://access.redhat.com/errata/RHSA-2026:100715


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