CVE-2026-28417: OS Command Injection in Vim netrw
- Vendor
- Vim
CVE-2026-28417 is an OS command injection vulnerability in the netrw standard plugin bundled with Vim before version 9.2.0073. Crafted URLs, including those handled through SCP, can cause attacker-controlled input to escape netrw-generated shell commands. An attacker who induces a user to open such a URL can execute arbitrary shell commands with the privileges of the Vim process.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the security context of the user running Vim. Arbitrary shell commands can access or disclose readable data, modify or delete writable data, and disrupt resources available to that account. Execution inherits the Vim process's privileges; the vulnerability does not independently establish privilege escalation.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid opening untrusted URLs through netrw, particularly SCP URLs, and disable netrw where its functionality is unnecessary. Avoid running Vim with elevated privileges to limit the consequences of command execution. These are exposure-reduction measures rather than a substitute for the security update; no vulnerability-specific vendor workaround is documented.
Remediation
Patch, then assume compromise.
Upgrade Vim to version 9.2.0073 or later, or install the applicable distribution package containing the backported fix. Fixed releases include Debian trixie 2:9.1.1230-2+deb13u1, RHEL 8 build 8.0.1763-22.el8_10.1, and RHEL 9 build 8.2.2637-23.el9_7.2. Use the update appropriate to the operating-system release and support channel; older upstream version numbers may contain vendor-backported fixes.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-28417 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2026-28417 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-28417?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2026-28417.
- Is there a patch for CVE-2026-28417?
- Upgrade Vim to version 9.2.0073 or later, or install the applicable distribution package containing the backported fix. Fixed releases include Debian trixie 2:9.1.1230-2+deb13u1, RHEL 8 build 8.0.1763-22.el8_10.1, and RHEL 9 build 8.2.2637-23.el9_7.2.
- What products are affected by CVE-2026-28417?
- Vim.
- How severe is CVE-2026-28417?
- CVE-2026-28417 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 1.7% (77th percentile) as of Nov 19, 2026.
Recent activity
40 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.