Insecure DLL loading in Vim - #VU170821
Published: November 29, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code with the privileges of the user running Vim.
The vulnerability exists due to an uncontrolled search path in Vim on Windows when job_start(), term_start() with ConPTY, or the list-argument forms of system() and systemlist() launch a program by name and search the current directory before trusted locations. A remote attacker can supply a project directory containing a malicious executable that runs when the victim works in that directory and a script or plugin invokes a program with the same name.