8.6

CVE-2022-41953: git-for-windows git Untrusted Search Path

CVSS: 8.6v3.1HighModified
Published 17-01-2023Last modified 10-03-2025

Vulnerability summary

CVE-2022-41953 is a high (CVSS 8.6) Untrusted Search Path vulnerability in git-for-windows git. EPSS estimates a 6.80% chance of exploitation in the next 30 days, higher than 93.9% of scored vulnerabilities.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.6/10
010
High · v3.1 (CVE.org)
EPSS score
6.80%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 17-01-2023
    PublishedVulnerability first disclosed.
  2. 10-03-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

6.80%

Chance of exploitation in the next 30 days

Percentile

94%

Versus all other CVEs

30-day change

0.00 pp

From 6.80% on 19-09-2026

19-09-202619-10-2026
EPSS score
6.80%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Git-for-windows1 product
Git-scm1 product

2 vendors · 2 products

References

5 links