{"id":"CVE-2026-42307","published":"2026-05-08T22:38:53Z","modified":"2026-05-13T17:46:32Z","title":"Vim: OS Command Injection in netrw","vendor":"vim","product":"vim","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00774,"percentile":0.5664,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-85ch-p2qr-m5gx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/405e2fb6d54d5653523809e2853d99d1c000a5fc","tags":["x_refsource_MISC"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0383","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":11.33},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim","versions":["< 9.2.0383"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-13T17:24:20.482558Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-28851","exploited":false,"provenance":"source"}}