cvedb.io
CVE-2023-29012
HIGH · CVSS 7.2
EPSS exploitation probability: 0%
Published 2023-04-25T21:15:10.557 · Last modified 2026-06-17T05:49:11.273

Summary

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.

Affected products

git_for_windows_project — git_for_windows

Does this affect you?

Add your gear to cvedb and we'll alert you only when git_for_windows_project ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.