CVE-2026-43961: Vim: vimscript injection via unescaped filename in netrw s:netrwmarkfile() filter() expression allows arbitrary code execution
- Is it exploited?
Not on CISA's list. CISA has not added it to the Known Exploited Vulnerabilities catalog as of . If CISA adds it, this page shows it as known exploited.
- How likely is exploitation in the next 30 days?
- 0.2%
EPSS score, percentile 5 of all scored records. A probability estimated by FIRST, not a report of exploitation.
- How severe?
- 7.8 High
CVSS v3.1 base score, given by the CNA
- What should I do?
CISA has set no required action, because the vulnerability is not in KEV.
- Which versions are affected?
Affected
- before 9.2.0480
Unaffected 9.2.967-1.1.hum1
Source: CISA KEV 2026.10.29, as of ; FIRST EPSS, as of ; CVE List, as of . About the data.
What to do
Workaround (from the CVE record)
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.
Advisories and patches
This summary is based on the CVE record as of . Check the vendor's advisory before you act: affected versions and fixes can change.
Affected products and versions
As listed in the CVE record.
| Status | Versions |
|---|---|
| Affected | before 9.2.0480 |
Versions not listed are: unaffected.
| Status | Versions |
|---|---|
| Unaffected | 9.2.967-1.1.hum1 |
Versions not listed are: affected.
| Status | Versions |
|---|
Versions not listed are: affected.
| Status | Versions |
|---|
Versions not listed are: unknown.
| Status | Versions |
|---|
Versions not listed are: affected.
| Status | Versions |
|---|
Versions not listed are: affected.
| Status | Versions |
|---|
Versions not listed are: affected.
| Status | Versions |
|---|
Versions not listed are: unaffected.
| Status | Versions |
|---|
Versions not listed are: unaffected.
Versions the record lists as unaffected: 9.2.967-1.1.hum1.
Source: CVE List, as of . About the data.
About this vulnerability
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.
Summary: CVE record, as of .
- CISA has not added CVE-2026-43961 to its Known Exploited Vulnerabilities (KEV) catalog, as of 29 Oct 2026.
- The CVE record was published on 19 Aug 2026.
- The CVE record carries a CVSS v3.1 base score of 7.8 (High), given by its CNA.
- FIRST's EPSS model puts the probability of exploitation in the next 30 days at 0.2% (percentile 5), as of 29 Oct 2026. EPSS is a statistical estimate, not a report of exploitation.
- CISA's SSVC assessment in the CVE record: exploitation none, automatable no, technical impact total.
- The credits in the CVE record name AISLE as finder.
Source: CISA KEV 2026.10.29, as of ; CVE List, as of ; FIRST EPSS, as of . About the data.
Description
Vim: vimscript injection via unescaped filename in netrw s:netrwmarkfile() filter() expression allows arbitrary code execution
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: CVE List, as of . About the data.
Weakness
CWE-94
CWE and CAPEC are maintained by MITRE; the entries are those named in the CVE record.
Timeline
| Date | Event |
|---|---|
| CVE record published | |
| CVE record last updated |
References
3
Known exploited Red Hat vulnerabilities
- CVE-2015-3246: Red Hat Libuser Race Condition Vulnerability
- CVE-2015-5287: Red Hat Automatic Bug Reporting Tool Privilege Escalation Vulnerability
- CVE-2018-14667: Red Hat JBoss RichFaces Framework Expression Language Injection Vulnerability
- CVE-2021-3560: Red Hat Polkit Incorrect Authorization Vulnerability
- CVE-2021-4034: Red Hat Polkit Out-of-Bounds Read and Write Vulnerability