{"id":"CVE-2023-40267","aliases":["GHSA-pr76-5cm5-w9cj","PYSEC-2023-137"],"url":"https://o3.security/vulnerability/CVE-2023-40267","summary":"GitPython vulnerable to remote code execution due to insufficient sanitization of input arguments","details":"GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.","published":"2023-08-11T00:00:00Z","modified":"2026-08-12T03:51:21.881165514Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"gitpython","fixedVersion":"3.1.32"}],"fix":{"url":"https://github.com/gitpython-developers/GitPython/commit/ca965ecc81853bca7675261729143f54e5bf4cdd","label":"gitpython-developers/GitPython@ca965ec"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40267.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40267"},{"type":"FIX","url":"https://github.com/gitpython-developers/GitPython/commit/ca965ecc81853bca7675261729143f54e5bf4cdd"},{"type":"FIX","url":"https://github.com/gitpython-developers/GitPython/pull/1609"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:21.881165514Z"}}