Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Windows

Advisory Analysis

Vim on Windows Can Launch Executables From Current Directory, Fix in 9.2.1421

A newly disclosed Vim security advisory says job_start() and system() on Windows may run a program found in the current working directory instead of one from the system PATH, a flaw fixed in Vim 9.2.1421.

WindowsOperating systems

Key points

  • Vim before version 9.2.1421 can run executables from the current working directory instead of PATH on Windows, via job_start() and system().
  • Classified as CWE-427 (Uncontrolled Search Path Element); severity rated Medium.
  • CVE ID requested but not yet assigned as of the advisory's publication.

According to a security advisory posted to the oss-security mailing list by Christian Brabandt, Vim versions prior to 9.2.1421 are affected by an uncontrolled search path issue (CWE-427) on Windows.

The bug affects the job_start() function and the system() call: instead of resolving an executable strictly via the configured PATH, Vim may pick up and run a program located in the current working directory. This could allow a malicious executable placed in a directory where Vim is run to be executed unexpectedly.

The advisory rates the severity as Medium. A CVE identifier has been requested but was not yet assigned at the time of publication.

No further technical details, affected platforms beyond Windows, or exploitation reports are given in the source.

What to do

  1. Upgrade Vim to version 9.2.1421 or later on Windows systems.
  2. Avoid running Vim from untrusted or world-writable directories until patched.
  3. Monitor the oss-security thread for the assigned CVE identifier and any further guidance.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

oss-securityseclists.org

“[vim-security] Windows: job_start() and system() run executables from cwd in Vim < 9.2.1421”

Posted by Christian Brabandt on Nov 28 Windows: job_start() and system() run executables from cwd in Vim < 9.2.1421 ============================================================================ Date: 28.11.2026 Severity: Medium CVE: *requested, not yet assigned* CWE: Uncontrolled Search Path Element (CWE-427) ## Summary On Windows, Vim may execute a program from the current directory instead of th…

More on this topic