---
id: CVE-2026-110858
title: >-
  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
summary: >-
  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 --uplo…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-88
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T23:17:27.043'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110858'
references:
  - url: >-
      https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/gitpython-3.1.30-before-3.2.0-command-injection-via-remote-pull-refspec
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-15T00:02:07.184Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
