CVE-2025-66476: Vim is an open source, command line text editor. Prior to version 9.1.1947, an uncontrolled search path vulnerability…
CVE-2025-66476 · Severity: high · CVSS 7.8 · Published 2025-12-02
Vim is an open source, command line text editor. Prior to version 9.1.1947, an uncontrolled search path vulnerability on Windows allows Vim to execute malicious executables placed in the current working directory for the current edited file. On Windows, when using cmd.exe as a shell, Vim resolves external commands by searching the current working directory before system paths. When Vim invokes tools such as findstr for :grep, external commands or filters via :!, or compiler/:make commands, it may inadvertently run a malicious executable present in the same directory as the file being edited. The issue affects Vim for Windows prior to version 9.1.1947.
No. Junglewise Threat Intelligence has no report of CVE-2025-66476 being exploited in the wild.
How severe is CVE-2025-66476?
High severity, with a CVSS score of 7.8, published 2 December 2025.
Which products and versions are affected?
Microsoft Windows, Vim. The advisory does not name versions.
Is there a fix for CVE-2025-66476?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2025-66476?
Check whether you run Microsoft Windows or Vim. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.