CVE-2022-41953 in Git-Scm Git and 1 more product
Git GUI is a convenient graphical tool that comes with Git for Windows. Its target audience is users who are uncomfortable with using Git on the command-line. Git GUI has a function to clone repositories. Immediately after the local clone is available, Git GUI will automatically post-process it, among other things r...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Git-Scm | Git | < 2.39.1 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Git GUI is a convenient graphical tool that comes with Git for Windows. Its target audience is users who are uncomfortable with using Git on the command-line. Git GUI has a function to clone repositories. Immediately after the local clone is available, Git GUI will automatically post-process it, among other things running a spell checker called `aspell.exe` if it was found. Git GUI is implemented as a Tcl/Tk script. Due to the unfortunate design of Tcl on Windows, the search path when looking for an executable _always includes the current directory_. Therefore, malicious repositories can ship with an `aspell.exe` in their top-level directory which is executed by Git GUI without giving the user a chance to inspect it first, i.e. running untrusted code. This issue has been addressed in version 2.39.1. Users are advised to upgrade. Users unable to upgrade should avoid using Git GUI for cloning. If that is not a viable option, at least avoid cloning from untrusted sources.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-41953 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-062577-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2023-01-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-426: CWE-426
Related attack patterns (CAPEC)
CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-426
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2022-41953 affects Git GUI, a graphical tool included with Git for Windows, by automatically running `aspell.exe` on cloned repositories, which could be exploited to execute arbitrary code if a maliciously crafted `aspell.exe` is placed in the system's PATH.
An attacker could place a malicious `aspell.exe` in a directory that is included in the system's PATH. When a user clones a repository using Git GUI, the malicious `aspell.exe` would be executed, potentially leading to arbitrary code execution with the privileges of the user running Git GUI.
Questions
What is CVE-2022-41953?
CVE-2022-41953 affects Git GUI, a graphical tool included with Git for Windows, by automatically running `aspell.exe` on cloned repositories, which could be exploited to execute arbitrary code if a maliciously crafted `aspell.exe` is placed in the system's PATH.
What is the CVSS score for CVE-2022-41953?
CVE-2022-41953 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.5%.
Is CVE-2022-41953 actively exploited?
No confirmed active exploitation of CVE-2022-41953 as of 2026-09-25.
How do I remediate CVE-2022-41953?
Priority: HIGH.
What systems are affected by CVE-2022-41953?
CVE-2022-41953 affects Git-Scm Git.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Git-Scm","product":"Git","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.