CVE-2026-43961: Vim: vimscript injection via unescaped filename in netrw s:netrwmarkfile() filter() expression allows arbitrary code execution
Vulnerability summary
CVE-2026-43961 is a high (CVSS 7.8) Improper Control of Generation of Code vulnerability in vim. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12.2% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 4Timeline
- 19-08-2026PublishedVulnerability first disclosed.
- 24-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 0.16% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat2 products
- vim< 2:9.1.083-26.el10_3 | < 2:8.2.2637-44.el9_9 | < 2:8.0.1763-34.el8_10 | < 2:9.1.083-26.el10_2 | < 2:8.2.2637-44.el9_8
- vim-common< 2:9.1.083-26.el10_3 | < 2:8.2.2637-44.el9_9 | < 2:8.0.1763-34.el8_10 | < 2:9.1.083-26.el10_2 | < 2:8.2.2637-44.el9_8
Alpine1 product
- vim< 9.2.0481-r0
Debian1 product
- vimAll versions (No fix recorded) | < 2:9.1.1230-2+deb13u1 | < 2:9.2.0524-1
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm28 | < 2:7.4.1689-3ubuntu1.5+esm34 | < 2:8.0.1453-1ubuntu1.13+esm19 | < 2:8.1.2269-1ubuntu5.32+esm7 | < 2:8.2.3995-1ubuntu2.31 | < 2:9.1.0016-1ubuntu7.15 | < 2:9.1.0967-1ubuntu6.6 | < 2:9.1.2141-1ubuntu4.3
Vim1 product
- vim< 9.2.0480
5 vendors · 6 products