Critical
GitPython 3.1.30 before 3.2.0 Command Injection via Remote.pull() Refspec
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= to execute OS commands as the calling process over local-path or SSH transports.
Announced Group revision 1
Original source ↗CVE-2026-110858
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-110858
GitPython
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "gitpython-developers",
"product": "GitPython",
"versions": [
{
"status": "affected",
"version": "3.1.30",
"lessThan": "3.2.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "3.2.0",
"versionType": "semver"
}
],
"packageURL": "pkg:pypi/GitPython",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-110858
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #32785 · Revision 1
- Added to Heist Feed
- Publisher date