CVE-2026-43961

published 19 Aug 2026 · updated 20 Nov 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 9.2.0480.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatHardened Images
Red HatOpenShift AI
Red HatOpenShift Container Platform
vim<9.2.04809.2.0480

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-43961 severity on Zeptric[![CVE-2026-43961](https://zeptric.io/badge/cve/CVE-2026-43961.svg)](https://zeptric.io/cve/CVE-2026-43961)