{"id":"CVE-2026-43961","aliases":["CVE-2026-43961"],"related":[],"kind":"vulnerability","state":"published","title":"Vim: vimscript injection via unescaped filename in netrw s:netrwmarkfile() filter() expression allows arbitrary code execution","summary":"A flaw was found in Vim's netrw plugin. A crafted filename containing quote characters and expression fragments can break out of the quoted context during mark/unmark operations, allowing arbitrary Vimscript execution. This can be leveraged to run shell commands with the privileges of the user running Vim.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in Vim's netrw plugin. A crafted filename containing quote characters and expression fragments can break out of the quoted context during mark/unmark operations, allowing arbitrary Vimscript execution. This can be leveraged to run shell commands with the privileges of the user running Vim.","source":"cvelist"},{"lang":"es","text":"Se encontró un fallo en el plugin netrw de Vim. Un nombre de archivo manipulado que contiene caracteres de comillas y fragmentos de expresión puede escapar del contexto entre comillas durante las operaciones de marcar/desmarcar, permitiendo la ejecución arbitraria de Vimscript. Esto puede ser aprovechado para ejecutar comandos de shell con los privilegios del usuario que ejecuta Vim.","source":"nvd"}],"published":"2026-08-19T14:06:09.120Z","modified":"2026-11-24T19:18:20.847Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"9.2.0480","status":"affected"}],"vendor":"vim","product":"vim","repo":"https://github.com/vim/vim/","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:9.1.083-26.el10_3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"vim","cpe":"cpe:/o:redhat:enterprise_linux:10.3","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:9.1.083-26.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10.2 Extended Update Support","package":"vim","cpe":"cpe:/o:redhat:enterprise_linux_eus:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:8.0.1763-34.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"vim","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:8.0.1763-34.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"vim","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:8.2.2637-44.el9_9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"vim","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:8.2.2637-44.el9_9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"vim","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:8.2.2637-44.el9_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.8 Extended Update Support","package":"vim","cpe":"cpe:/a:redhat:rhel_eus:9.8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"9.2.967-1.1.hum1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"vim-main","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1795506874","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/cds-kubernetes-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1795506877","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/cds-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1795454666","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/haproxy-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1795506876","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/installer-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1795506954","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/rhua-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"vim","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"vim","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-dashboard-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-8","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:5","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:100486","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:100487","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:102947","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57614","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:98119","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:99165","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:99166","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-43961","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460434","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vim/vim/security/advisories/GHSA-66hr-7p6x-x5j3","tags":[],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/14/7","tags":[],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank AISLE Research for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-19T14:15:10.966Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43961","url":"https://www.cve.org/CVERecord?id=CVE-2026-43961","licence":"CVE Terms of Use","modified":"2026-11-24T18:28:52.365Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43961","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43961","licence":"Public domain","modified":"2026-11-24T19:18:20.847Z"}],"updatedAt":"2026-11-25T22:59:33.923Z","epss":{"score":0.00213,"percentile":0.12274,"date":"2026-12-01T12:00:22.000Z"}}