CVE-2026-42215 - Vulnerability Analysis
HighCVSS: 8.8Last Updated: May 7, 2026
GitPython - Command Injection
Published: May 7, 2026Updated: May 7, 2026Remote Exploitable
Overview
GitPython 3.1.30 to < 3.1.47 contains a command injection caused by bypassing dangerous Git option checks via Python kwargs in Repo.clone_from(), Remote.fetch(), Remote.pull(), and Remote.push(), letting attackers execute arbitrary commands remotely, exploit requires attacker-controlled kwargs input.
Severity & Score
Severity: High
CVSS Score: 8.8
Impact
Attackers can execute arbitrary commands remotely, potentially leading to full system compromise.
Mitigation
Upgrade to version 3.1.47 or later.
References
Related Resources
Details
- CVE ID
- CVE-2026-42215
- Severity
- High
- CVSS Score
- 8.8
- Type
- command_injection
- Status
- unconfirmed
CWE
- CWE-78
CVSS Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H