CVE-2026-28417 Vim has OS Command Injection in netrw

Medium 4.4 Published Updated

An attacker can execute arbitrary shell commands by tricking a user into opening a crafted URL in Vim's netrw plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-28417?

CVE-2026-28417 is a medium-severity command injection vulnerability in Vim Vim, published on 27 Feb 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Vim is an open source, command line text editor. Prior to version 9.2.0073, an OS command injection vulnerability exists in the `netrw` standard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using the `scp://` protocol handler), an attacker can execute arbitrary shell commands with the privileges of the Vim process. Version 9.2.0073 fixes the issue.

Weakness: CWE-78, CWE-86

Which versions are affected by CVE-2026-28417?

It affects 1 product.

Linux distribution packages (1)
vim SUSE:Linux Micro 6.0All versions9.2.0110-1.1

Products include Vim Vim.

How do I fix CVE-2026-28417?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-28417 being exploited?

There is no known exploitation of CVE-2026-28417 in the wild and no public exploit code.

All Vim Vim vulnerabilities

Sources

Also known as ALPINE-CVE-2026-28417, AZL-78497, BELL-CVE-2026-28417, DEBIAN-CVE-2026-28417, ECHO-180e-0061-390d, GHSA-m3xh-9434-g336 and 5 more.

Is CVE-2026-28417 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free