What’s Vulnerable › Vulnerabilities

CVE-2026-43961: Vim: vimscript injection via unescaped filename in netrw s:netrwmarkfile() filter() expression allows arbitrary code execution

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Hardened Images 9.2.967-1.1.hum1; vim/vim 9.2.0480. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-43961 or the next vulnerability affects your stack