Live threats

All CVEs / Git For Windows Project

CVE-2023-29012Git For Windows Project Git For Windows

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.3%
probability of exploitation in 30 days · percentile 21
Auth required
Yes
Published
Apr 25, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-427
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

Git for Windows is the Windows port of Git. Prior to version 2.40.1, any user of Git CMD who starts the command in an untrusted directory is impacted by an Uncontrolles Search Path Element vulnerability. Maliciously-placed `doskey.exe` would be executed silently upon running Git CMD. The problem has been patched in Git for Windows v2.40.1. As a workaround, avoid using Git CMD or, if using Git CMD, avoid starting it in an untrusted directory.

Original NVD text.

What to do

  1. Apply the vendor's security update for Git For Windows.

Affected products (CPE)

VendorProductVersions
git_for_windows_projectgit_for_windows< 2.40.1

Official sources

References

Links published by the sources. Open them with care.