Vulnerability · Published Feb 27, 2026 · Assigned by GitHub_M

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

Medium 4.4

In plain English

A medium-severity security flaw in vim from vim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.4Medium
Exploit odds (30 days)1.4%top 28.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8vim-X112:8.0.1763-22.el8_10.1ALSA-2026:6915
AlmaLinux:9vim-X112:8.2.2637-23.el9_7.2ALSA-2026:8259
AlmaLinux:8vim-common2:8.0.1763-22.el8_10.1ALSA-2026:6915
AlmaLinux:9vim-common2:8.2.2637-23.el9_7.2ALSA-2026:8259
AlmaLinux:10vim-data2:9.1.083-6.el10_1.3ALSA-2026:7711
AlmaLinux:8vim-enhanced2:8.0.1763-22.el8_10.1ALSA-2026:6915
AlmaLinux:9vim-enhanced2:8.2.2637-23.el9_7.2ALSA-2026:8259
AlmaLinux:10vim-filesystem2:9.1.083-6.el10_1.3ALSA-2026:7711
AlmaLinux:8vim-filesystem2:8.0.1763-22.el8_10.1ALSA-2026:6915
AlmaLinux:9vim-filesystem2:8.2.2637-23.el9_7.2ALSA-2026:8259
AlmaLinux:8vim-minimal2:8.0.1763-22.el8_10.1ALSA-2026:6915
AlmaLinux:9vim-minimal2:8.2.2637-23.el9_7.2ALSA-2026:8259
Alpine:v3.23vim9.2.0078-r0ALPINE-CVE-2026-28417
Alpine:v3.24vim9.2.0078-r0ALPINE-CVE-2026-28417
Debian:12vimno fix listedDEBIAN-CVE-2026-28417
Debian:13vim2:9.1.1230-2+deb13u1DEBIAN-CVE-2026-28417
Debian:14vim2:9.2.0119-1DEBIAN-CVE-2026-28417
Rocky Linux:10vim2:9.1.083-6.el10_1.3RLSA-2026:7711
Rocky Linux:8vim2:8.0.1763-22.el8_10.1RLSA-2026:6915
Rocky Linux:9vim2:8.2.2637-23.el9_7.2RLSA-2026:8259
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.35USN-8657-1
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.26UBUNTU-CVE-2026-28417
Ubuntu:24.04:LTSvim2:9.1.0016-1ubuntu7.19USN-8657-1
Ubuntu:24.04:LTSvim2:9.1.0016-1ubuntu7.10UBUNTU-CVE-2026-28417
Ubuntu:25.10vim2:9.1.0967-1ubuntu6.1UBUNTU-CVE-2026-28417
Ubuntu:26.04:LTSvim2:9.1.2141-1ubuntu2UBUNTU-CVE-2026-28417
Ubuntu:26.04:LTSvim2:9.1.2141-1ubuntu4.8USN-8657-1

Affected products (as reported)

VendorProductVersions
vim vim < 9.2.0073

Weakness: CWE-86 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

References