{"id":"CVE-2026-110859","revision":"c81dd30b9a044d0884c87f4a08b2f43d","records":[{"revision":"c81dd30b9a044d0884c87f4a08b2f43d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-110859","aliases":[],"title":"GitPython before 3.2.0 Arbitrary File Read via Head.checkout() Branch Name","description":"GitPython before 3.2.0 contains an argument injection vulnerability in Head.checkout() that allows remote attackers to read arbitrary files by supplying a branch name parsed as a git option. Attackers can host a repository whose default branch is named --pathspec-from-file=<path>, causing cloning applications that check out the active branch to leak file contents through GitCommandError messages.","state":0,"publishedAt":"2026-10-14T22:52:43.585+00:00","modifiedAt":"2026-10-15T15:40:26.986+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\": \"0\",\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:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2","https://www.vulncheck.com/advisories/gitpython-before-3.2.0-arbitrary-file-read-via-head-checkout-branch-name"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-110859","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-110859","identifiers":["CVE-2026-110859"]},"retained":false,"historicalAffected":[]}],"coverage":[]}