Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-42215

35
FAUCET Score

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.

First published: May 7, 2026Last modified: May 9, 2026

Impacted Technologies

VendorProductVersion(s)CPE
>= 3.1.30, < 3.1.47CPE matchmatch criteria
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*

CVSS Data

CVSS version used by this source: 3.1

8.8HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.75%
Probability of exploitation in next 30 days
EPSS Percentile
51.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0075 is in the 44th percentile among its peer group of 17,829 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (9)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: GitPythonFixed in: 3.1.47
ubuntupatch availablevia ubuntu_usn
Product: python-git (focal)Fixed in: 3.0.7-1ubuntu0.1~esm4
ubuntupatch availablevia ubuntu_usn
Product: python-git (jammy)Fixed in: 3.1.24-1ubuntu0.1~esm3
ubuntupatch availablevia ubuntu_usn
Product: python-git (noble)Fixed in: 3.1.37-3ubuntu0.1~esm2
ubuntupatch availablevia ubuntu_usn
Product: python-git (resolute)Fixed in: 3.1.46-1ubuntu0.1~esm1
ubuntupatch availablevia ubuntu_usn
Product: python-git (trusty)Fixed in: 0.3.2~RC1-3ubuntu0.1~esm3
ubuntupatch availablevia ubuntu_usn
Product: python-git (xenial)Fixed in: 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4
ubuntupatch availablevia ubuntu_usn
Product: python-git (bionic)Fixed in: 2.1.8-1ubuntu0.1~esm4

Vendor Advisories (2)

ubuntuUSN-8303-1

GitPython vulnerabilities

May 26, 2026
pipGHSA-rpm5-65cw-6hj4high

GitPython has Command Injection via Git options bypass

Apr 25, 2026

References

github.com / gitpython-developers/GitPython/releases/tag/3.1.47
PatchRelease Notes
github.com / gitpython-developers/GitPython/security/advisories/GHSA-rpm5-65cw-6hj4
ExploitVendor Advisory