Story

In the news · 1 source · first seen 6d ago · oss-security
[vim-security] Command Execution via PowerShell Keyword Lookup in Vim < 9.2.1346

Posted by Christian Brabandt on Nov 14 Command Execution via PowerShell Keyword Lookup in Vim < 9.2.1346 ================================================================= Date: 14.11.2026 Severity: Low CVE: *requested, not yet assigned* CWE: Improper Neutralization of Special Elements used in an OS

Briefing

Written from the coverage below · deepseek-v4.1-flash

Vim before 9.2.1346 contains a command-injection flaw in runtime/ftplugin/ps1.vim, where the PowerShell keyword-lookup (keywordprg) setting fails to properly neutralize special elements. The issue is rated low severity under CWE-78, builds on an incomplete fix from GHSA-r5v6-q6j8-8qw2, and no CVE has yet been assigned.

Why it mattersEditing untrusted PowerShell scripts in a vulnerable Vim build could let crafted content execute commands on the developer's machine.

ActionUpgrade Vim to 9.2.1346 or later, or remove the ps1 keywordprg setting from runtime/ftplugin/ps1.vim.

Coverage

1 article