CVE-2026-73077

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

History

06 Oct 2026, 19:34

Type Values Removed Values Added
CPE cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
First Time Vim
Vim vim
References () https://github.com/vim/vim/commit/c5a82fe013e73c98004ad7cd4f906b1ad1ed610e - () https://github.com/vim/vim/commit/c5a82fe013e73c98004ad7cd4f906b1ad1ed610e - Patch
References () https://github.com/vim/vim/security/advisories/GHSA-r5v6-q6j8-8qw2 - () https://github.com/vim/vim/security/advisories/GHSA-r5v6-q6j8-8qw2 - Patch, Vendor Advisory

Information

Published : 2026-08-11 16:17

Updated : 2026-10-06 19:34


NVD link : CVE-2026-73077

Mitre link : CVE-2026-73077

CVE.ORG link : CVE-2026-73077


JSON object : View

Products Affected

vim

  • vim
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')