{"id":"CVE-2026-42307","aliases":["CVE-2026-42307"],"related":[],"kind":"vulnerability","state":"published","title":"Vim: OS Command Injection in netrw","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-08T22:38:53.964Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 9.2.0383","status":"affected"}],"vendor":"vim","product":"vim","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"9.2.0383"}],"vendor":"vim","product":"vim","cpe":"cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-85ch-p2qr-m5gx","tags":["patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vim/vim/commit/405e2fb6d54d5653523809e2853d99d1c000a5fc","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0383","tags":["product","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-13T17:24:20.482Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42307","url":"https://www.cve.org/CVERecord?id=CVE-2026-42307","licence":"CVE Terms of Use","modified":"2026-05-13T17:46:32.207Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42307","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42307","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:21.121Z","epss":{"score":0.00774,"percentile":0.56938,"date":"2026-12-01T12:00:22.000Z"}}