JLSEC-2026-1847: High severity julia/vim_jll vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Vimto a version that resolves this vulnerability.Fixed in 9.1.1947
Event History
Frequently Asked Questions
Which deployments are affected?
The issue affects Vim running on Windows before version 9.1.1947 when cmd.exe is used as the shell. It is relevant when editing files in directories where an attacker could place a malicious executable.
What must happen for exploitation to occur?
A user must invoke an external command or filter, such as :grep using findstr, :!, or compiler/:make commands, while the edited file's working directory contains a malicious executable. The vulnerable search behavior can select that executable before system-path tools.
What can be done before updating?
Update Vim for Windows to version 9.1.1947 or later. Until then, avoid invoking external commands, filters, grep operations, or make/compiler commands while editing files in directories that may contain untrusted executables.