{"id":"CVE-2026-110858","revision":"1b26fac68517427199b0d95fec804e35","records":[{"revision":"1b26fac68517427199b0d95fec804e35","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-110858","aliases":[],"title":"GitPython 3.1.30 before 3.2.0 Command Injection via Remote.pull() Refspec","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.","state":0,"publishedAt":"2026-10-14T22:52:42.217+00:00","modifiedAt":"2026-10-16T17:14:41.14+00:00","affected":[{"ecosystem":"Vendor product","name":"GitPython","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gitpython-developers\",\n                    \"product\": \"GitPython\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:pypi/GitPython\",\n                    \"versions\": [\n                        {\n                            \"version\": \"3.1.30\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.2.0\"\n                        },\n                        {\n                            \"version\": \"3.2.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":9.2,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"severity":"HIGH"}],"references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239","https://www.vulncheck.com/advisories/gitpython-3.1.30-before-3.2.0-command-injection-via-remote-pull-refspec"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-110858","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-110858","identifiers":["CVE-2026-110858"]},"retained":false,"historicalAffected":[]}],"coverage":[]}