All reports
Critical

GitPython vulnerable to Remote Code Execution due to improper user input validation

Affected versions

Version ranges need review.

Affected versions
<3.1.30
Fixed version
3.1.30
Affected versions
<= 3.1.29
Fixed version
3.1.30
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-24439

Probability of exploitation in the next 30 days: 6.17%

FIRST EPSS · 2026-11-22

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.

Links

Credits

  • ad-m-ss
  • tdunlap607