SB2026111811 - OS Command Injection in Vim



SB2026111811 - OS Command Injection in Vim

Published: November 18, 2026

Security Bulletin ID SB2026111811
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) OS Command Injection (CVE-ID: N/A)

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CVSSv4: 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]


The vulnerability allows a remote attacker to execute arbitrary commands with the privileges of the user running Vim.

The vulnerability exists due to incomplete escaping of typographic single quotes in runtime/ftplugin/ps1.vim when passing keyword lookup arguments to PowerShell with filetype plugins enabled and PowerShell installed. A remote attacker can supply a PowerShell script containing x’;./hook.ps1;’ and trick the victim into opening it, selecting the crafted line in Visual mode, and pressing K to execute arbitrary commands.


Remediation

Install update from vendor's website.