AUGUST 4, 2026
Live Feed
Back to database
Case File

CVE-2022-31012

HIGH · CVSS 8.2 EPSS 0.39% Public Exploit

Source: NVD + CISA KEV + EPSS (historical backfill) · Published 2022-07-12 · Last synced 2026-08-04

CyberRota Analysis

This is a high severity vulnerability with a CVSS score of 8.2. It affects Windows. Public exploit code or proof-of-concept references have been detected in its references. Exploitation may require the attacker to be authenticated.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2022-31012
Severity
HIGH
CVSS
8.2
EPSS
0.39%
Windows

Original NVD Description

Git for Windows is a fork of Git that contains Windows-specific patches. This vulnerability in versions prior to 2.37.1 lets Git for Windows' installer execute a binary into `C:\mingw64\bin\git.exe` by mistake. This only happens upon a fresh install, not when upgrading Git for Windows. A patch is included in version 2.37.1. Two workarounds are available. Create the `C:\mingw64` folder and remove read/write access from this folder, or disallow arbitrary authenticated users to create folders in `C:\`.

Related CVEs

Other vulnerabilities affecting the same vendor(s)