{"id":"CVE-2026-110858","summary":"GitPython 3.1.30 before 3.2.0 Command Injection via Remote.pull() Refspec","details":"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=\u003ccommand\u003e to execute OS commands as the calling process over local-path or SSH transports.","aliases":["GHSA-f9j4-qggq-h239"],"modified":"2026-10-15T10:47:30.205650308Z","published":"2026-10-14T22:52:42.217Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-88"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110858.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110858.json"},{"type":"ADVISORY","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110858"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gitpython-3.1.30-before-3.2.0-command-injection-via-remote-pull-refspec"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gitpython-developers/gitpython","events":[{"introduced":"141cd651e459bff8919798b3ccf03dfa167757f6"},{"fixed":"6a7180a9dfcb276755a8af99dd78155f775a6b14"}],"database_specific":{"extracted_events":[{"introduced":"3.1.30"},{"fixed":"3.2.0"}],"source":"AFFECTED_FIELD"}}],"versions":["3.1.57","3.1.56","3.1.55","3.1.54","3.1.53","3.1.52","3.1.51","3.1.50","3.1.49","3.1.48","3.1.47","3.1.44","3.1.43","3.1.42","3.1.41","3.1.40","3.1.38","3.1.35","3.1.34","3.1.33","3.1.32","3.1.31","3.1.30"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-110858.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}