Vulnerability details
CVE-2026-73077
vim vim
Vim: Arbitrary Code Execution via Shell Keyword Lookup
CVSS 4.0
8.4High
Official description
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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.4High | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | 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 |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| vim | vim | < 9.2.0839 | CVEProject cvelistV5 (CNA) |
References and advisories
2- https://github.com/vim/vim/security/advisories/GHSA-r5v6-q6j8-8qw2 x_refsource_CONFIRM
- https://github.com/vim/vim/commit/c5a82fe013e73c98004ad7cd4f906b1ad1ed610e x_refsource_MISC
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-08-11
- Last updated
- 2026-08-11
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
0.14%
Probability of exploitation in 30 days
3.7%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- None
- Technical impact
- Total
Weaknesses (CWE)
- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')