CVE-2022-24439

Remote Code Execution (RCE)

Published Dec 12, 2022 CVSS 3.1 · 8.1 High EPSS 6.1% KEV · Not listed
Description
All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3502-1 python-git security update
Debian DLA Debian DLA DLA-3939-1 python-git security update
Github GHSA Github GHSA GHSA-hcpj-qp55-gfph GitPython vulnerable to Remote Code Execution due to improper user input validation
Ubuntu USN Ubuntu USN USN-5968-1 GitPython vulnerability
Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Nov 3, 2025, 9:46 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Dec 6, 2022, 5:15 AM
Modified
Jun 17, 2026, 4:31 AM
Severity
Moderate
Public date
Dec 5, 2022, 12:00 AM