CVE-2026-42215
Last modified
CVE-2026-42215 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. GitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47, GitPython blocks dangerous Git options such as --upload-pack and --receive-pack by default, but the equivalent Python kwargs upload_pack and receive_pack bypass that check. EPSS estimates a 0.72% chance of exploitation in the next 30 days.
Description
GitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47, GitPython blocks dangerous Git options such as --upload-pack and --receive-pack by default, but the equivalent Python kwargs upload_pack and receive_pack bypass that check. If an application passes attacker-controlled kwargs into Repo.clone_from(), Remote.fetch(), Remote.pull(), or Remote.push(), this leads to arbitrary command execution even when allow_unsafe_options is left at its default value of False. This issue has been patched in version 3.1.47.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitpython Project | Gitpython | >= 3.1.30, < 3.1.47 |
References
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47Patch, Release Notes
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rpm5-65cw-6hj4Exploit, Vendor Advisory
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rpm5-65cw-6hj4Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42215?
How severe is CVE-2026-42215?
How do I fix CVE-2026-42215?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4221A vulnerability was found in Tiandy Easy7 Integrated Managem…7.3
- CVE-2026-42210Webmin is a web-based system administration tool for Unix-li…5.3
- CVE-2026-42211React Router is a router for React. In versions 7.0.0 throug…8.1
- CVE-2026-42212SolidCAM-GPPL-IDE is an unofficial, independently developed …7.1
- CVE-2026-42213SolidCAM-GPPL-IDE is an unofficial, independently developed …5.1
- CVE-2026-42214Notepad Next is a cross-platform, reimplementation of Notepa…7.8
- CVE-2026-42216OpenEXR provides the specification and reference implementat…9.1
- CVE-2026-42217OpenEXR provides the specification and reference implementat…9.8
- CVE-2026-42218xrdp is an open source RDP server. Versions 0.10.6 and prior…5.3
- CVE-2026-42219Frappe is a full-stack web application framework. Prior to 1…6.9
- CVE-2026-4222A vulnerability was determined in SSCMS up to 7.4.0. This vu…3.8
- CVE-2026-42220Nginx UI is a web user interface for the Nginx web server. P…6.5
Are you affected by CVE-2026-42215?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
