Vim is an open source, command line text editor. Prior to 9.2.0663, a Vimscript code injection vulnerability exists in s:NetrwLocalRmFile() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when deleting a local file from the browser. A filename derived from the buffer's directory listing is interpolated into an Ex command line passed to :execute with only the backslash character escaped, allowing a crafted filename containing a bar (|) to terminate the intended command and execute arbitrary Vimscript, including shell commands via :call system() and :!. This vulnerability is fixed in 9.2.0663.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"vim:vim": [
"< 9.2.0663"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55895",
"id": "CVE-2026-55895",
"imported": "2026-12-02T14:11:18.583Z",
"modified": "2026-06-26T05:16:31.097Z",
"published": "2026-06-25T16:16:41.077Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-55895"
},
{
"affected": {
"vim:vim": [
"< 9.2.0663"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39450",
"id": "EUVD-2026-39450",
"imported": "2026-12-02T14:11:19.997Z",
"modified": "2026-06-26T03:55:57Z",
"published": "2026-06-25T15:31:29Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-39450"
}
]
}