All CVEs / Git For Windows Project
CVE-2023-29012Git For Windows Project Git For Windows
High 7.8
Follow: this CVE · Git For Windows Project · Git For Windows Project Git For Windows We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Git For Windows.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| git_for_windows_project | git_for_windows | < 2.40.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Vendor Advisory