Vim before 9.2.1421 may run cwd executables on Windows
Original title: [vim-security] Windows: job_start() and system() run executables from cwd in Vim < 9.2.1421
job_start() and system() can launch a same-named program from the working directory; a CVE is not yet assigned.
Christian Brabandt reported that on Windows, Vim before 9.2.1421 may execute a program from the current directory instead of the intended system program. The issue is triggered when a script or plugin starts a program with job_start() or system(). It is rated medium and mapped to CWE-427. A CVE has been requested and is not yet assigned.
Unconfirmed: A CVE was requested and has not been assigned.
- Severity is medium; CWE-427 uncontrolled search path element.
- A CVE was requested and has not been assigned.
- Posted by Christian Brabandt on November 28, 2026.
- Triggered when a script or plugin uses job_start() or system().
Impact: May run a cwd program instead of the intended one
| Product | Affected | Fixed in |
|---|---|---|
| Vim | < 9.2.1421 | 9.2.1421 |
- 1.Upgrade Windows Vim to 9.2.1421 or later.
- Vendors
- Vim
From the original article
Posted by Christian Brabandt on Nov 28 Windows: job_start() and system() run executables from cwd in Vim < 9. 2. 1421 ============================================================================ Date: 28.
seclists.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.