#VU124678 OS Command Injection in Vim

 

#VU124678 OS Command Injection in Vim

Published: March 30, 2026


Vulnerability identifier: #VU124678
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: N/A
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Vim
Software vendor:
Vim.org

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to the tabpanel option is missing the P_MLE flag, allowing a modeline to inject a %{expr} expression string without requiring modelineexpr to be enabled. A remote attacker can trick the victim into opening a specially crafted file and execute arbitrary code on the system.


Remediation

Install updates from vendor's website.

External links