OS Command Injection in Vim - #VU124678

 

OS Command Injection in Vim - #VU124678

Published: March 30, 2026


Vulnerability identifier: #VU124678
CSH Severity: High
CVSS v4: 8.4 [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]
CVE-ID: N/A
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Vim

Remediation

Install updates from vendor's website.

Vim - update to 9.2.0172

External References

Related Security Bulletins