Unverified Ownership in Vim - #VU162558

 

Unverified Ownership in Vim - #VU162558

Published: November 9, 2026


Vulnerability identifier: #VU162558
CSH Severity: Low
CVSS v4: 7.2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-283
Exploitation vector: Local access
Exploit availability: No public exploit available

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.


Affected software

Vim

Remediation

Install security update from vendor's website.

Vim - update to 9.2.1308

External References

Related Security Bulletins