CVE-2023-29012
highpriority · track · 31EPSS 0.004 · 32 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (44)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1072git: Mehrere SchwachstellenDeutsch2023-04-25csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in git ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Daten zu manipulieren und seine Privilegien zu erweitern.
- WID-SEC-W-2023-1446Microsoft Developer Tools: Mehrere SchwachstellenDeutsch2023-06-13csaf · cert_bundDE
Ein entfernter, anonymer, authentisierter oder lokaler Angreifer kann mehrere Schwachstellen in Microsoft .NET Framework, Microsoft Azure DevOps Server, Microsoft NuGet, Microsoft Visual Studio und Microsoft Visual Studio Code ausnutzen, um beliebigen Code auszuführen, vertrauliche Informationen offenzulegen, einen Denial-of-Service-Zustand herbeizuführen, seine Rechte zu erweitern und Daten zu manipulieren.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-29012/cnnvd
- https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1cnnvd
- https://github.com/git-for-windows/git/security/advisories/GHSA-gq5x-v87v-8f7gcnnvd
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29012cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2023-29012cnnvd
- https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1enisa_euvd
- https://github.com/git-for-windows/git/security/advisories/GHSA-gq5x-v87v-8f7genisa_euvd
- https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1Release Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan