{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55895","id":"CVE-2026-55895","title":"Vim: Vimscript Code Injection in netrw NetrwLocalRmFile() via crafted filename","description":"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 characte","descriptionLong":"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.","published":"2026-06-25T15:31:29.349Z","updated":"2026-10-28T11:17:53.259976725Z","reserved":"2026-06-17T16:59:42.760Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"medium","products":["vim"],"affectedProducts":[{"vendor":"vim","product":"vim","defaultStatus":null,"versions":[{"version":"< 9.2.0663","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-78","CWE-94"],"aliases":["GHSA-vhh8-v6wx-hjjh"],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-vhh8-v6wx-hjjh","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory"]},{"url":"https://github.com/vim/vim/commit/55bc757a5d436e59d50fe43f7cda94b118f86cb2","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0663","tags":["x_refsource_MISC","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55895.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55895","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00226,"epssPercentile":0.13424,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55895","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55895","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55895","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55895","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}