Untrusted search path in Vim - CVE-2025-66476
Published: December 3, 2025 / Updated: March 16, 2026
Vulnerability identifier: #VU119081
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-66476
CWE-ID: CWE-426
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to usage of an untrusted search path in Vim on Windows. A remote attacker can trick the victim into opening a specially crafted file with the editor and execute arbitrary OS commands on the system.
Affected software
Vim
How to mitigate CVE-2025-66476
Install updates from vendor's website.
Vim - update to 9.1.1947