Skip to content
Threat Brief

← All advisories

CVE-2026-43961

High 7.8No known exploitationFix available

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

Record last updated

CVSS score

7.8

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 12% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-94

Patching and mitigation

Patch status
Fix available (source: CVE record (redhat))
Fix documented (source date)
Mitigation
To mitigate this issue, users should avoid browsing untrusted directories or interacting with files from untrusted sources using Vim's netrw plugin. Exercise caution when opening directories that may contain maliciously crafted filenames. Source (opens in a new tab)
Vendor guidance
access.redhat.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Red HatRed Hat Enterprise Linux 7Not documentedNot documentedCVE Program
vimvimall versions before 9.2.04809.2.0480CVE Program
Red HatRed Hat Enterprise Linux 10 (unaffected)2:9.1.083-26.el10_3Not documentedCVE Program
Red HatRed Hat Enterprise Linux 10.2 Extended Update Support (unaffected)2:9.1.083-26.el10_2Not documentedCVE Program
Red HatRed Hat Enterprise Linux 6 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 8 (unaffected)2:8.0.1763-34.el8_10Not documentedCVE Program
Red HatRed Hat Enterprise Linux 8 (unaffected)2:8.0.1763-34.el8_10Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)2:8.2.2637-44.el9_9Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)2:8.2.2637-44.el9_9Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9.8 Extended Update Support (unaffected)2:8.2.2637-44.el9_8Not documentedCVE Program
Red HatRed Hat Hardened Images (unaffected)9.2.967-1.1.hum1Not documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift Container Platform 5 (status unknown)Not documentedNot documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (redhat)

    Source: CVE record (redhat) (opens in a new tab)

Vendor guidance and references