CVE-2024-22190
CVE-2024-22190 is a high-severity vulnerability in Gitpython Project Gitpython with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-426.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 0% (23rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0062
- Weakness: CWE-426
- Affected product: Gitpython Project Gitpython
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2024-22190?
- 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.
- How severe is CVE-2024-22190?
- CVE-2024-22190 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-22190 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (23rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-22190?
- CVE-2024-22190 affects Gitpython Project Gitpython. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-22190?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-22190 have an EU (EUVD) identifier?
- Yes. CVE-2024-22190 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0062.
- When was CVE-2024-22190 published?
- CVE-2024-22190 was published on 2024-01-11 and last updated on 2026-06-17.
References
- https://github.com/gitpython-developers/GitPython/commit/ef3192cc414f2fd9978908454f6fd95243784c7f
- https://github.com/gitpython-developers/GitPython/pull/1792
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2mqj-m65w-jghx
Affected products (1)
- cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*
More vulnerabilities in Gitpython Project Gitpython
- CVE-2023-40267 — Critical (CVSS 9.8): GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists…
- CVE-2026-42215 — High (CVSS 8.8): GitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47,…
- CVE-2026-42284 — High (CVSS 8.1): GitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone() validates…
- CVE-2022-24439 — High (CVSS 8.1): All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation,…
- CVE-2026-44244 — High (CVSS 7.8): GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49,…
- CVE-2023-40590 — High (CVSS 7.8): GitPython is a python library used to interact with Git repositories. When resolving a program, Python/Windows look for…
All CVEs affecting Gitpython Project Gitpython →
Other CWE-426 (Untrusted Search Path) vulnerabilities
- CVE-2026-45772 — Critical (CVSS 9.8): Turborepo is a high-performance build system for JavaScript and TypeScript codebases. From 1.1.0 to before 2.9.14,…
- CVE-2025-26155 — Critical (CVSS 9.8): NCP Secure Enterprise Client 13.18 and NCP Secure Entry Windows Client 13.19 have an Untrusted Search Path…
- CVE-2024-53866 — Critical (CVSS 9.8): The package manager pnpm prior to version 9.15.0 seems to mishandle overrides and global cache: Overrides from one…
- CVE-2024-38462 — Critical (CVSS 9.8): iRODS before 4.3.2 provides an msiSendMail function with a problematic dependency on the mail binary, such as in the…
- CVE-2023-30330 — Critical (CVSS 9.8): SoftExpert (SE) Excellence Suite 2.x versions before 2.1.3 is vulnerable to Local File Inclusion in the function…
- CVE-2022-24826 — Critical (CVSS 9.8): On Windows, if Git LFS operates on a malicious repository with a `..exe` file as well as a file named `git.exe`, and…
Browse all CWE-426 (Untrusted Search Path) vulnerabilities →