Notice Score pending
Vim on Windows runs programs from the current folder
Windows users of Vim can have their PC hacked.
Mitigation
Update Vim to 9.2.1421 or later.
Summary
On Windows, Vim can run an external program from the current folder when a script or plugin starts it by name. If an attacker's malicious executable is in the working folder, code can run with the privileges of the Vim user.
Affected when
- Vim running on Windows
- current folder is attacker-controlled (e.g. a cloned repository)
- a script or plugin that starts an external program by name using job_start(), term_start() or system() with a List argument
3 other Incidents of this product in the last 30 days
Incidents by product: Vim
Other recent Incidents of Vim