Patch Ticker
EnglishEN
Notice Score pending

Vim PowerShell keyword lookup allows command execution

Selecting a bad line in the Vim editor and looking it up can get your PC hacked.

First seen
—

Mitigation

Update to Vim 9.2.1346 or later.

Summary

Vim's PowerShell filetype plugin fails to escape some typographic quote characters when K is pressed, so a crafted line in a PowerShell script can run commands. Vim users with PowerShell installed are affected.

Affected when

  • Vim with filetype plugins enabled
  • PowerShell (pwsh or powershell.exe) installed
  • crafted line selected in Visual mode and looked up with K

3 other Incidents of this product in the last 30 days

Incidents by product: Vim

Other recent Incidents of Vim

All Incidents of 2026-11-15

Read the discussion · seclists.org (opens in a new tab)