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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"vim:vim": [
"< 9.2.0383"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42307",
"id": "CVE-2026-42307",
"imported": "2026-12-02T14:11:18.570Z",
"modified": "2026-07-24T21:10:00.143Z",
"published": "2026-05-08T23:16:36.777Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-42307"
},
{
"affected": {
"vim:vim": [
"< 9.2.0383"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-28851",
"id": "EUVD-2026-28851",
"imported": "2026-12-02T14:11:20.016Z",
"modified": "2026-05-13T17:46:32Z",
"published": "2026-05-08T22:38:53Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-28851"
}
]
}