CVE-2026-73077Vim OS Command Injection
NVD
Vulnerability Summary
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 PATH_ESC_CHARS 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 & Patched Versions
- Vim < v9.2.0839
- Vim v9.2.0839
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Vim and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Aug 11, 2026Published
- Aug 11, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Vim CVEsYou are reading CVE-2026-73077. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 22, 2026 23:12 UTC