
CVE catalog
CVE-2024-22190
python-git: CVE-2024-22190
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.32% · Oct 25, 2026
GitPython is a python library used to interact with Git repositories. There is an incomplete fix for CVE-2023-40590. On Windows, GitPython uses an untrusted search path if it uses a shell to run `git`, as well as when it runs `bash.exe` to interpret hooks. If either of those features are used on Windows, a malicious `git.exe` or `bash.exe` may be run from an untrusted repository. This issue has been patched in version 3.1.41.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-git | sid | 3.2.1-1 | not affected |
| Debian | python-git | forky | 3.2.1-1 | not affected |
| Debian | python-git | trixie | 3.1.44-1 | not affected |
| Debian | python-git | bookworm | 3.1.30-1+deb12u2 | not affected |
| PyPI | gitpython | Not reported | 3.1.41 | fixed |
| PyPI | gitpython | Not reported | 3.1.41 | fixed |
| PyPI | gitpython | Not reported | ef3192cc414f2fd9978908454f6fd95243784c7f | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-git | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | python-git | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | python-git | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | python-git | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| PyPI | gitpython | PyPI | Not reported | 3.1.41 | Not reported | GHSA-2MQJ-M65W-JGHX | Not reported |
| PyPI | gitpython | PyPI | Not reported | 3.1.41 | Not reported | PYSEC-2024-4 | Not reported |
| PyPI | gitpython | PyPI | Not reported | ef3192cc414f2fd9978908454f6fd95243784c7f | Not reported | PYSEC-2024-4 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.