PoC Monitor
← All CVEs
CVE-2026-43961published 19 Aug 2026 14:06 UTCData: JSON · API

Vim

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

vim vim
  • < 9.2.0480

Fixed in 9.2.0480

Red Hat Red Hat Enterprise Linux 10

    Fixed in 2:9.1.083-26.el10_3

    Red Hat Red Hat Enterprise Linux 10.2 Extended Update Support

      Fixed in 2:9.1.083-26.el10_2

      Red Hat Red Hat Enterprise Linux 8

        Fixed in 2:8.0.1763-34.el8_10

        Red Hat Red Hat Enterprise Linux 8

          Fixed in 2:8.0.1763-34.el8_10

          Red Hat Red Hat Enterprise Linux 9

            Fixed in 2:8.2.2637-44.el9_9

            Red Hat Red Hat Enterprise Linux 9

              Fixed in 2:8.2.2637-44.el9_9

              Red Hat Red Hat Enterprise Linux 9.8 Extended Update Support

                Fixed in 2:8.2.2637-44.el9_8

                Red Hat Red Hat Hardened Images

                  Fixed in 9.2.967-1.1.hum1

                  Mitigation

                  Upgrade vim to 9.2.0480 or later.

                  Upgrade Red Hat Enterprise Linux 10 to 2:9.1.083-26.el10_3 or later.

                  Upgrade Red Hat Enterprise Linux 10.2 Extended Update Support to 2:9.1.083-26.el10_2 or later.

                  Upgrade Red Hat Enterprise Linux 8 to 2:8.0.1763-34.el8_10 or later.

                  Upgrade Red Hat Enterprise Linux 8 to 2:8.0.1763-34.el8_10 or later.

                  Upgrade Red Hat Enterprise Linux 9 to 2:8.2.2637-44.el9_9 or later.

                  Upgrade Red Hat Enterprise Linux 9 to 2:8.2.2637-44.el9_9 or later.

                  Upgrade Red Hat Enterprise Linux 9.8 Extended Update Support to 2:8.2.2637-44.el9_8 or later.

                  Upgrade Red Hat Hardened Images to 9.2.967-1.1.hum1 or later.

                  Workaround

                  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.

                  References

                  4 more

                  Timeline

                  Days relative to CVE publication
                  -2t=0+2+4+6+8CVE published19 Aug 2026 · t = 0

                  No public PoC found yet; not in CISA KEV.

                  PoC repositories

                  Found on GitHub.

                  No PoC repositories found yet.