Vim is an open source, command line text editor. Prior to version 9.2.0435, an OS command injection vulnerability exists in Vim's :find command-line completion. When the path option contains backtick-enclosed shell commands, those commands are executed during file name completion. Because the path option lacks the P_SECURE flag, it can be set from a modeline, allowing an attacker who controls the contents of a file to execute arbitrary shell commands when the user opens that file in Vim and triggers :find completion. This issue has been patched in version 9.2.0435.
CVSS Details
- CVSS 4.0 Base Score: 4.6 (MEDIUM)
- CVSS 4.0 Vector: (CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X)
- CVSS 3.1 Base Score: 5.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade vim | May 15, 2026 | May 8, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | May 8, 2026 |
| Ubuntu | — | Upgrade vim-gtkUpgrade vim-commonUpgrade vim-runtimeUpgrade vim-runtime (Ubuntu Pro)Upgrade vim-gui-common (Ubuntu Pro)Upgrade vim-tinyUpgrade vim-gtk3 (Ubuntu Pro)Upgrade vim-noxUpgrade vim-tiny (Ubuntu Pro)Upgrade vim-gtk3-py2 (Ubuntu Pro)Upgrade vim-nox (Ubuntu Pro)Upgrade vim-athenaUpgrade vim-nox-py2 (Ubuntu Pro)Upgrade vim (Ubuntu Pro)Upgrade vim-gnome (Ubuntu Pro)Upgrade vim-gtk (Ubuntu Pro)Upgrade vim-lesstif (Ubuntu Pro)Upgrade vim-gtk-py2 (Ubuntu Pro)Upgrade vim-athena (Ubuntu Pro)Upgrade vim-motifUpgrade vimUpgrade vim-gui-commonUpgrade vim-common (Ubuntu Pro)Upgrade vim-gtk3Upgrade vim-athena-py2 (Ubuntu Pro)Upgrade vim-gnome-py2 (Ubuntu Pro) | May 26, 2026 | May 25, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 1, 2026 | May 8, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub