OS Command Injection in Vim - #VU166522
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands with the privileges of the user running Vim.
The vulnerability exists due to improper neutralization of shell metacharacters in Vim's runtime/autoload/csscomplete.vim when CSS omni-completion passes unescaped @import filenames to glob() on Unix-like systems with filetype plugins enabled. A remote attacker can trick a victim into opening a CSS file containing backticks in an @import filename and invoking omni-completion (CTRL-X CTRL-O) after that value to execute embedded shell commands.