CVE Watchtower

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.
Severity Level
MEDIUM
Published Date
Aug 11, 2026
Last Modified
Aug 11, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.14%Probability
Root Weakness (CWE)
The software constructs all or part of an OS command using externally-influenced input, but does not properly neutralize special elements.

Affected & Patched Versions

Affected Versions
  • Vim < v9.2.0839
Patched Versions
  • Vim v9.2.0839

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Vim and which version.
  2. 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 alerts

More Vim CVEs

Data last checked: Nov 22, 2026 23:12 UTC