4.4medium
Vim has OS Command Injection in netrw
- Severity
- 4.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.33% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Vim is an open source, command line text editor. Prior to version 9.2.0073, an OS command injection vulnerability exists in the `netrw` standard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using the `scp://` protocol handler), an attacker can execute arbitrary shell commands with the privileges of the Vim process. Version 9.2.0073 fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vim vim | < 9.2.0073, before 9.2.0073 | CVE List, NVD |
All scores
| GitHub_M | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Vim is an open source, command line text editor. Prior to version 9.2.0073, an OS command injection vulnerability exists in the `netrw` standard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using the `scp://` protocol handler), an attacker can execute arbitrary shell commands with the privileges of the Vim process. Version 9.2.0073 fixes the issue.
NVD (es)
Vim es un editor de texto de código abierto de línea de comandos. Antes de la versión 9.2.0073, hay una vulnerabilidad de inyección de comandos del sistema operativo en el plugin estándar 'netrw' incluido con Vim. Al inducir a un usuario a abrir una URL manipulada (por ejemplo, usando el gestor de protocolo 'scp://'), un atacante puede ejecutar comandos de shell arbitrarios con los privilegios del proceso de Vim. La versión 9.2.0073 soluciona el problema.
References
| https://github.com/vim/vim/security/advisories/GHSA-m3xh-9434-g336 | patch, vendor-advisory | |
| https://github.com/vim/vim/commit/79348dbbc09332130f4c860 | patch | |
| https://github.com/vim/vim/releases/tag/v9.2.0073 | release-notes | |
| http://www.openwall.com/lists/oss-security/2026/02/27/6 | mailing-list, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-28417 changed 2026-05-28 | CVE Terms of Use |
| NVD | CVE-2026-28417 changed 2026-06-17 | Public domain |