CVE-2026-42307
JSON

4.4medium

Vim: OS Command Injection in netrw

Severity
4.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.77% (higher than 56% 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.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.

Affected

Product or packageVersionsReported by
vim vim< 9.2.0383, before 9.2.0383CVE List, NVD

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42307 changed 2026-05-13CVE Terms of Use
NVDCVE-2026-42307 changed 2026-07-24Public domain