{"id":"CVE-2026-87818","revision":"c8f3a38b88d947658fa488269308d1a4","records":[{"revision":"c8f3a38b88d947658fa488269308d1a4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-87818","aliases":[],"title":"GitPython 3.1.59 Local File Content Oracle via --no-index","description":"GitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with -I/--ignore-matching-lines to create a content-dependent Boolean oracle, repeatedly querying local files to recover single-line secrets through distinguishable success or error responses.","state":0,"publishedAt":"2026-09-09T11:21:04.681+00:00","modifiedAt":"2026-10-08T15:25:57.055+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.59\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.1.60\"\n                        },\n                        {\n                            \"version\": \"3.1.60\",\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:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x","https://www.vulncheck.com/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-87818","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-87818","identifiers":["CVE-2026-87818"]},"retained":false,"historicalAffected":[]}],"coverage":[]}