Vim on Windows could run a planted executable from the current directory via job_start(), term_start() and List-form system(); fixed in Vim 9.2.1421
- Affected: Vim on Windows before patch 9.2.1421. Calls that bypass the shell,
job_start(),term_start()(ConPTY) and, since 9.2.0025,system()/systemlist()with a List argument, still letCreateProcessW()search the current directory first. - Attack: place an executable with a common name (e.g.
git.exe) in a project folder; it runs with the user's privileges when Vim's working directory is that folder and a plugin (Git integration, LSP client, linter) starts the program by name. - Severity: medium per the Vim project (CWE-427); CVE requested, not yet assigned. Reported by Mark Woods.
- Fix: update to Vim 9.2.1421 or later (GHSA-6mf5-6cf6-hf9c).
Sources: oss-security: Vim advisory (Nov 28, 2026) · Vim GitHub Security Advisory GHSA-6mf5-6cf6-hf9c · Vim v9.2.1421 release