CVE-2026-28417: Vim has OS Command Injection in netrw
Vulnerability summary
CVE-2026-28417 is a high (CVSS 7.8) vulnerability in vim. EPSS estimates a 1.33% chance of exploitation in the next 30 days, higher than 72.1% of scored vulnerabilities.
Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 26 · Related 9Timeline
- 27-02-2026PublishedVulnerability first disclosed.
- 28-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA4.4MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.33%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
Decrease -0.02 pp
From 1.35% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-86Improper Neutralization of Invalid Characters in Identifiers in Web PagesThe product does not neutralize or incorrectly neutralizes invalid characters or byte sequences in the middle of tag names, URI schemes, and other identifiers.
- CWE-78Improper Neutralization of Special Elements used in an OS CommandThe product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
Affected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- vim< 9.2.0078-r0
Debian1 product
- vimAll versions (No fix recorded) | < 2:9.1.1230-2+deb13u1 | < 2:9.2.0119-1
Suse1 product
- vim&distro=SUSE Linux Micro 6.0< 9.2.0110-1.1
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm23 | < 2:7.4.1689-3ubuntu1.5+esm29 | < 2:8.0.1453-1ubuntu1.13+esm14 | < 2:8.1.2269-1ubuntu5.32+esm2 | < 2:8.2.3995-1ubuntu2.26 | < 2:9.1.0016-1ubuntu7.10 | < 2:9.1.0967-1ubuntu6.1 | < 2:9.1.2141-1ubuntu2
Vim1 product
- vim< 9.2.0073
5 vendors · 5 products
References
13 links- github.com/vim/vim/security/advisories/GHSA-m3xh-9434-g336X Refsource CONFIRMREPORTPatchVendor Advisory