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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-19 · Modified: 2026-11-24
- Aliases: ALPINE-CVE-2026-43961, UBUNTU-CVE-2026-43961, DEBIAN-CVE-2026-43961, RHSA-2026:98119, RHSA-2026:99165, RHSA-2026:99166, RHSA-2026:100486, RHSA-2026:100487
- Record: https://cvemate.com/vulnerability/CVE-2026-43961 · JSON: https://cvemate.com/vulnerability/CVE-2026-43961/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.213%, percentile 12.239%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine vim (Alpine Linux): \< 9.2.0481-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1230-2+deb13u1 \| \< 2:9.2.0524-1
- ubuntu vim (Ubuntu): \< 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
- redhat vim (Red Hat): \< 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
- redhat vim-common (Red Hat): \< 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 vim: \< 9.2.0480

## References (first 20 of 24)

- <https://access.redhat.com/errata/RHSA-2026:57614>
- <https://access.redhat.com/security/cve/CVE-2026-43961>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2460434>
- <https://github.com/vim/vim/security/advisories/GHSA-66hr-7p6x-x5j3>
- <http://www.openwall.com/lists/oss-security/2026/05/14/7>
- <https://security.alpinelinux.org/vuln/CVE-2026-43961>
- <https://ubuntu.com/security/CVE-2026-43961>
- <https://www.cve.org/CVERecord?id=CVE-2026-43961>
- <https://www.openwall.com/lists/oss-security/2026/05/14/7>
- <https://ubuntu.com/security/notices/USN-8415-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-43961>
- <https://access.redhat.com/errata/RHSA-2026:98119>
- <https://access.redhat.com/errata/RHSA-2026:99165>
- <https://access.redhat.com/errata/RHSA-2026:99166>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_98119.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43961>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_99165.json>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_99166.json>
- <https://access.redhat.com/errata/RHSA-2026:100486>

---

Data as of 2026-12-05T04:47:22.952Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
