{"id":"CVE-2026-73077","published":"2026-08-11T15:39:24Z","modified":"2026-08-11T18:33:31Z","title":"Vim: Arbitrary Code Execution via Shell Keyword Lookup","vendor":"vim","product":"vim","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00144,"percentile":0.03782,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-r5v6-q6j8-8qw2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/c5a82fe013e73c98004ad7cd4f906b1ad1ed610e","tags":["x_refsource_MISC"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":0.76},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim","versions":["< 9.2.0839"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-11T18:33:20.954919Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-56233","exploited":false,"provenance":"source"}}