CVE-2026-42307

Vim is an open source, command line text editor. Prior to version 9.2.0383, 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 sftp:// or file:// protocol handlers), an attacker can execute arbitrary shell commands with the privileges of the Vim process. This issue has been patched in version 9.2.0383.
Configurations

Configuration 1 (hide)

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

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Vim es un editor de texto de código abierto, de línea de comandos. Antes de la versión 9.2.0383, existe 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, utilizando los manejadores del protocolo sftp:// o file://), un atacante puede ejecutar comandos de shell arbitrarios con los privilegios del proceso de Vim. Este problema ha sido parcheado en la versión 9.2.0383.

14 May 2026, 13:55

Type Values Removed Values Added
CPE cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
References () https://github.com/vim/vim/commit/405e2fb6d54d5653523809e2853d99d1c000a5fc - () https://github.com/vim/vim/commit/405e2fb6d54d5653523809e2853d99d1c000a5fc - Patch
References () https://github.com/vim/vim/releases/tag/v9.2.0383 - () https://github.com/vim/vim/releases/tag/v9.2.0383 - Product
References () https://github.com/vim/vim/security/advisories/GHSA-85ch-p2qr-m5gx - () https://github.com/vim/vim/security/advisories/GHSA-85ch-p2qr-m5gx - Patch, Vendor Advisory
First Time Vim vim
Vim

08 May 2026, 23:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-08 23:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-42307

Mitre link : CVE-2026-42307

CVE.ORG link : CVE-2026-42307


JSON object : View

Products Affected

vim

  • vim
CWE
CWE-78

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