Unverified Ownership in Vim - #VU162558
Published: November 9, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands in the context of the user running Vim or impersonate the Vim server to clients.
The vulnerability exists due to unverified ownership and permissions of an existing socket directory in socketserver_get_path() when creating a server socket in a shared directory such as /tmp. A remote attacker can pre-create the victim's socket directory to connect to the socket and submit arbitrary Vim expressions when the victim's umask permits access, or replace the socket to impersonate the server to clients.
Exploitation requires a Vim build with the +socketserver feature operating as a server.