CVE-2023-40267Gitpython Project Gitpython
Critical 9.8 No auth needed
Follow: this CVE · Gitpython Project · Gitpython Project Gitpython We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Aug 11, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
- Apply the vendor's security update for Gitpython.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gitpython |
< 3.1.32 |
3.1.32 |
pip install "gitpython>=3.1.32" |
| PyPI | gitpython |
< 3.1.32 |
3.1.32 |
pip install "gitpython>=3.1.32" |
Per OSV / GitHub Advisories (GHSA-pr76-5cm5-w9cj, PYSEC-2023-137). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitpython_project | gitpython | < 3.1.32 |
Official advisories
- python313-GitPython-3.1.56-1.1 on GA media · SUSE · openSUSE-SU-2026:11419-1 · Aug 1, 2026 Critical
- Red Hat Security Advisory: Satellite 6.14 security and bug fix update · Red Hat · RHSA-2023:6818 · Oct 2, 2024 High
- Red Hat Security Advisory: Satellite 6.13.5 Async Security Update · Red Hat · RHSA-2023:5931 · Oct 2, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.debian.org