Improper Neutralization of Argument Delimiters in a Command in GitPython - CVE-2026-87818

 

Improper Neutralization of Argument Delimiters in a Command in GitPython - CVE-2026-87818

Published: August 26, 2026 / Updated: September 14, 2026


Vulnerability identifier: #VU145799
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-87818
CWE-ID: CWE-88
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to improper neutralization of argument delimiters in the high-level diff API when processing attacker-influenced diff options and path operands with --no-index and --ignore-matching-lines. A remote user can send crafted diff options and filesystem path operands to disclose sensitive information.

Exploitation requires an embedding application to expose a distinguishable success or error result and to allow repeated requests.


Affected software

GitPython
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
Python 3 Module
openSUSE Leap
python311-GitPython

How to mitigate CVE-2026-87818

Install security update from vendor's website.

GitPython - update to 3.1.60
python311-GitPython - update to 3.1.34.1693646983.2a2ae77-150400.9.11.1

External References

Related Security Bulletins