CVE-2021-47874 VFS for Git 1.0.21014.1 - 'GVFS.Service' Unquoted Service Path

High 8.5 Published Updated

Local attackers can execute arbitrary code with elevated privileges by exploiting an unquoted service path in VFS for Git.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47874?

CVE-2021-47874 is a high-severity vulnerability in Vfsforgit VFS for Git, published on 21 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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 with LocalSystem privileges during service startup or system reboot.

Weakness: CWE-428

Which versions are affected by CVE-2021-47874?

How do I fix CVE-2021-47874?

No fix has been published for CVE-2021-47874 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-47874 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47874 exists.

Sources

Also known as GHSA-h5g4-f7pv-2p3r.

Is CVE-2021-47874 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free