JLSEC-2026-1892: High severity julia/vim_jll vulnerability
Vim is an open source, command line text editor. Prior to 9.2.0839, the runtime/ftplugin/sh.vim, runtime/ftplugin/zsh.vim, and runtime/ftplugin/ps1.vim filetype plugins pass attacker-controlled Visual-mode selections from K through keywordprg commands without safely separating shell arguments. fnameescape() and PATHESCCHARS do not neutralize shell metacharacters before ShKeywordPrg, ZshKeywordPrg, or GetHelp invokes bash, zsh, or PowerShell, allowing arbitrary operating-system commands to execute with the privileges of the user running Vim. This issue is fixed in version 9.2.0839.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.2.0839
Event History
Frequently Asked Questions
What must an attacker do to trigger this issue?
An attacker must convince a user to make an attacker-controlled Visual-mode selection and invoke the affected keyword lookup path. Exploitation requires local access and user interaction, but no privileges are required beforehand.
Which environments and user privileges are at risk?
The affected filetype plugins are for shell, zsh, and PowerShell files, and their keyword lookup commands can invoke bash, zsh, or PowerShell. Successful exploitation runs arbitrary operating-system commands with the privileges of the user running Vim.
What version resolves the vulnerability?
Vim version 9.2.0839 fixes the issue. Versions prior to 9.2.0839 are affected.