Improper Neutralization of Special Elements used in a Command ('Command Injection')
CVE-2026-73078
Summary
Vim is an open source, command line text editor. Prior to 9.2.0840, 'runtime/plugin/netrwPlugin.vim' loads 'netrw' and 'runtime/pack/dist/opt/netrw/autoload/netrw.vim' constructs Bookmarks, History, and Targets menu entries by interpolating attacker-controlled directory paths into executed ':menu' commands. 's:NetrwBookmarkMenu()', 's:NetrwTgtMenu()', 'g:netrw_menu_escape', 'EX_TRLBAR', and 'netrw#MakeTgt()' fail to neutralize the '|' command separator or single quotes at five construction sites, allowing a crafted path browsed or bookmarked in GUI Vim to execute arbitrary Ex and operating-system commands. This issue is fixed in version 9.2.0840.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- REQUIRED
- NONE
- HIGH
- HIGH
CWE-77 - Command Injection
A command injection attack involves injecting an operating system command through the data input, which gets executed on the host operating system with the privileges of the victimized application. The impact of a command injection attack may range from loss of data confidentiality and integrity to unauthorized remote access to the hosting system. The attack may cause serious data breaches and system takeover.
References
Advisory Timeline
- Published