Cyber Resilience

CVE-2021-47874

HighPublic PoC

Published: 21 January 2026

Published
21 January 2026
Modified
15 April 2026
KEV Added
Patch
CVSS Score v4 8.5 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0013 2.7th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2021-47874 is a high-severity Unquoted Search Path or Element (CWE-428) vulnerability in Vfsforgit (inferred from references). Its CVSS base score is 8.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Path Interception by Unquoted Path (T1574.009); ranked at the 2.7th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 CM-2 (Baseline Configuration) and CM-6 (Configuration Settings).

Deeper analysis

CVE-2021-47874 is an unquoted service path vulnerability (CWE-428) in VFS for Git version 1.0.21014.1, affecting the GVFS.Service Windows service. The issue stems from an unquoted binary path in the service configuration, which allows local attackers to execute arbitrary code with elevated privileges by injecting malicious executables into the system's search path.

A local attacker with low privileges (AV:L/AC:L/PR:L) can exploit this vulnerability by placing a malicious executable in a directory that precedes the legitimate service binary in the Windows PATH environment. Upon GVFS.Service startup or system reboot, the malicious binary executes with LocalSystem privileges, granting high impacts on confidentiality, integrity, and availability (CVSS:3.1 score of 7.8; C:H/I:H/A:H).

Advisories and references include the official VFS for Git site (https://vfsforgit.org/), a VulnCheck advisory on the GVFS.Service unquoted path issue (https://www.vulncheck.com/advisories/vfs-for-git-gvfsservice-unquoted-service-path), and a public exploit on Exploit-DB (https://www.exploit-db.com/exploits/49661), highlighting the need for patching or service reconfiguration to mitigate local privilege escalation risks.

EU & UK References

Vulnerability details

VFS for Git 1.0.21014.1 contains an unquoted service path vulnerability in the GVFS.Service Windows service that allows local attackers to execute code with elevated privileges. Attackers can exploit the unquoted binary path to inject malicious executables that will be launched…

more

with LocalSystem privileges during service startup or system reboot.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1574.009 Path Interception by Unquoted Path Stealth
Adversaries may execute their own malicious payloads by hijacking vulnerable file path references.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Why these techniques?

Unquoted service path in GVFS.Service directly enables path interception by unquoted path (T1574.009) for local privilege escalation (T1068) via malicious executable placement in PATH.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2022-50914Shared CWE-428
CVE-2020-36982Shared CWE-428
CVE-2020-36987Shared CWE-428
CVE-2021-47825Shared CWE-428
CVE-2020-37059Shared CWE-428
CVE-2020-36953Shared CWE-428
CVE-2022-50935Shared CWE-428
CVE-2021-47864Shared CWE-428
CVE-2020-37060Shared CWE-428
CVE-2019-25308Shared CWE-428

Affected Assets

Vfsforgit
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

SI-2 mandates identification, reporting, and correction of flaws like unquoted service paths via patching or reconfiguration, directly preventing exploitation of CVE-2021-47874.

prevent

CM-6 requires establishing and enforcing secure configuration settings for system components, including quoted binary paths for services to block PATH hijacking.

prevent

CM-2 ensures a secure baseline configuration is developed and maintained, incorporating proper service path quoting to mitigate unquoted path vulnerabilities.

References