CVE-2026-43961
Vim: vimscript injection via unescaped filename in netrw s:netrwmarkfile() filter() expression allows arbitrary code execution
CVSS Score
7.8
EPSS Score
0.2%
EPSS Percentile
5th
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.
| CWE | CWE-94 |
| Vendor | vim |
| Product | vim |
| Published | Aug 19, 2026 |
| Last Updated | Sep 22, 2026 |
Stay Ahead of the Next One
Get instant alerts for vim vim
Be the first to know when new high vulnerabilities affecting vim vim are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
vim / vim
0 < 9.2.0480
Red Hat / Red Hat Hardened Images
All versions affected Red Hat / Red Hat Enterprise Linux 10
All versions affected Red Hat / Red Hat Enterprise Linux 6
All versions affected Red Hat / Red Hat Enterprise Linux 7
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat OpenShift Container Platform 4
All versions affected Red Hat / Red Hat OpenShift Container Platform 4
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:57614 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-43961 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2460434 github.com: https://github.com/vim/vim/security/advisories/GHSA-66hr-7p6x-x5j3 openwall.com: http://www.openwall.com/lists/oss-security/2026/05/14/7
Credits
Red Hat would like to thank AISLE Research for reporting this issue.