Upstream information
Description
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.SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having important severity.
| CVSS detail | CNA (GitHub) | SUSE |
|---|---|---|
| Base Score | 7.5 | 7.5 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Attack Vector | Network | Network |
| Attack Complexity | High | High |
| Privileges Required | None | None |
| User Interaction | Required | Required |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | High | High |
| Integrity Impact | High | High |
| Availability Impact | High | High |
| CVSSv3 Version | 3.1 | 3.1 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise Desktop 15 SP7 | python-GitPython | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | python-GitPython | Affected |
| SUSE Linux Enterprise Server 15 SP7 | python-GitPython | Affected |
| SUSE Linux Enterprise Server 16.0 | python-GitPython | Affected |
| SUSE Linux Enterprise Server 16.1 | python-GitPython | Affected |
| SUSE Linux Enterprise Server 16.2 | python-GitPython | Affected |
| SUSE Linux Enterprise Server for NVIDIA 16.1 | python-GitPython | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | python-GitPython | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | python-GitPython | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | python-GitPython | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.2 | python-GitPython | Affected |
| openSUSE Leap 16.0 | python-GitPython | Affected |
| openSUSE Leap 16.1 | python-GitPython | Affected |
| Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | python-GitPython | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | python-GitPython | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | python-GitPython | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP4 | python-GitPython | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP5 | python-GitPython | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP6 | python-GitPython | Affected |
| SUSE Linux Enterprise Server 15 SP4 | python-GitPython | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | python-GitPython | Affected |
| SUSE Linux Enterprise Server 15 SP5 | python-GitPython | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | python-GitPython | Affected |
| SUSE Linux Enterprise Server 15 SP6 | python-GitPython | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | python-GitPython | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | python-GitPython | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | python-GitPython | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | python-GitPython | Affected |
| Products past their end of life and not receiving proactive updates anymore. | ||
| SUSE Linux Enterprise Desktop 15 SP4 | python-GitPython | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | python-GitPython | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | python-GitPython | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | python-GitPython | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | python-GitPython | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | python-GitPython | Affected |
| SUSE Manager Proxy 4.3 | python-GitPython | Affected |
| SUSE Manager Retail Branch Server 4.3 | python-GitPython | Affected |
| SUSE Manager Server 4.3 | python-GitPython | Affected |
| openSUSE Leap 15.4 | python-GitPython | Affected |
| openSUSE Leap 15.5 | python-GitPython | Affected |
| openSUSE Leap 15.6 | python-GitPython | Affected |
SUSE Timeline for this CVE
CVE page created: Thu Oct 22 11:54:31 2026CVE page last modified: Thu Oct 22 21:54:57 2026