← Back to search

CVE-2026-110858

8.1 HIGHpublic exploit available

Published 2026-10-14 · Updated 2026-10-16

AI risk analysis

Summary
GitPython's Remote.pull() method before 3.2.0 allows remote code execution because the --upload-pack option can be passed via the positional refspec argument, bypassing the unsafe-option guard that only inspects keyword arguments, enabling arbitrary command execution over local or SSH transports.
Exploitability
Exploitation requires control over the refspec argument passed to Remote.pull(), which is feasible if an attacker influences the input (e.g., via user-controlled configuration or repository metadata) and can reach the target over a local-path or SSH transport.
Blast radius
Successful exploitation grants OS-level command execution with the privileges of the calling process, potentially compromising confidentiality, integrity, and availability of the host system.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to GitPython 3.2.0 or later, which fixes the unsafe-option inspection to include positional refspec arguments.
rcegitpythonunsafe-inputtransport-abuse

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

GitPython from 3.1.30 before 3.2.0 contains a remote code execution vulnerability in Remote.pull() whose unsafe-option guard inspects only keyword arguments, not the positional refspec. Attackers controlling the refspec can supply --upload-pack=<command> to execute OS commands as the calling process over local-path or SSH transports.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-88

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.