cve.bz

CVE-2026-28417 vim vim: OS Command Injection

7.8 highEPSS 1.4%Fix available

High (7.8) in vim vim. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
CWE-86 Improper Neutralization of Invalid Characters in Identifiers in Web Pages
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-28417 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-28417?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-28417?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-28417 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vim:vimbefore 9.2.0073

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12vimno fix listedDEBIAN-CVE-2026-28417
Debian13vim2:9.1.1230-2+deb13u1DEBIAN-CVE-2026-28417 DSA-6600-1
Debian14vim2:9.2.0119-1DEBIAN-CVE-2026-28417
Ubuntu22.04:LTSvim2:8.2.3995-1ubuntu2.26UBUNTU-CVE-2026-28417 USN-8657-1
Ubuntu24.04:LTSvim2:9.1.0016-1ubuntu7.10UBUNTU-CVE-2026-28417 USN-8657-1
Ubuntu25.10vim2:9.1.0967-1ubuntu6.1UBUNTU-CVE-2026-28417
Ubuntu26.04:LTSvim2:9.1.2141-1ubuntu2UBUNTU-CVE-2026-28417 USN-8657-1
UbuntuPro:14.04:LTSvim2:7.4.052-1ubuntu3.1+esm23UBUNTU-CVE-2026-28417 USN-8657-1
UbuntuPro:16.04:LTSvim2:7.4.1689-3ubuntu1.5+esm29UBUNTU-CVE-2026-28417 USN-8657-1
UbuntuPro:18.04:LTSvim2:8.0.1453-1ubuntu1.13+esm14UBUNTU-CVE-2026-28417 USN-8657-1
UbuntuPro:20.04:LTSvim2:8.1.2269-1ubuntu5.32+esm2UBUNTU-CVE-2026-28417 USN-8657-1
Red Hatenterprise_linux:8::appstreamvim-X11, vim-common, vim-enhanced2:8.0.1763-22.el8_10.1RHSA-2026:6915
Red Hatenterprise_linux:8::baseosvim2:8.0.1763-22.el8_10.1RHSA-2026:6915
Red Hatenterprise_linux:9::appstreamvim-X11, vim-common, vim-enhanced2:8.2.2637-23.el9_7.2RHSA-2026:8259
Red Hatenterprise_linux:9::baseosvim, vim-minimal2:8.2.2637-23.el9_7.2RHSA-2026:8259
Red Hatenterprise_linux:10.1vim, vim-X11, vim-common and 2 more2:9.1.083-6.el10_1.3RHSA-2026:7711
Red Hatenterprise_linux_eus:10.0vim, xxd, vim-X11 and 11 more2:9.1.083-5.el10_0.2RHSA-2026:6502
Red Hatrhel_aus:8.2::appstreamvim-X11, vim-common, vim-enhanced and 7 more2:8.0.1763-13.el8_2.1RHSA-2026:6730
Red Hatrhel_aus:8.2::baseosvim, vim-minimal, vim-debuginfo and 5 more2:8.0.1763-13.el8_2.1RHSA-2026:6730
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamvim-X11, vim-common, vim-enhanced and 7 more2:8.0.1763-15.el8_4.1RHSA-2026:6729
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosvim, vim-minimal, vim-debuginfo and 5 more2:8.0.1763-15.el8_4.1RHSA-2026:6729
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamvim-X11, vim-common, vim-enhanced and 7 more2:8.0.1763-19.el8_6.5RHSA-2026:6731
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseosvim, vim-minimal, vim-debuginfo and 5 more2:8.0.1763-19.el8_6.5RHSA-2026:6731
12 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.2 and 4 morevim9.2.0110-150000.5.86.1SUSE-SU-2026:1095-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 6 morevim9.2.0110-150500.20.43.1SUSE-SU-2026:0910-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5vim9.2.0110-17.59.1SUSE-SU-2026:1051-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0vim9.2.0110-160000.1.1SUSE-SU-2026:20916-1
SUSELinux Micro 6.0vim9.2.0110-1.1SUSE-SU-2026:20732-1
SUSELinux Micro 6.1vim9.2.0110-slfo.1.1_1.1SUSE-SU-2026:20738-1
SUSELinux Micro 6.2vim9.2.0110-160000.1.1SUSE-SU-2026:20759-1
SUSELinux Micro Extras 6.2vim9.2.0110-160000.1.1SUSE-SU-2026:20765-1
openSUSELeap 15.6vim9.2.0110-150500.20.43.1SUSE-SU-2026:0910-1
openSUSELeap 16.0vim9.2.0110-160000.1.1openSUSE-SU-2026:20403-1
AlmaLinux8vim-X11, vim-common, vim-minimal and 2 more2:8.0.1763-22.el8_10.1ALSA-2026:6915
AlmaLinux9vim-X11, vim-common, vim-minimal and 2 more2:8.2.2637-23.el9_7.2ALSA-2026:8259
AlmaLinux10vim-data, vim-filesystem2:9.1.083-6.el10_1.3ALSA-2026:7711
Rocky Linux8vim2:8.0.1763-22.el8_10.1RLSA-2026:6915
Rocky Linux9vim2:8.2.2637-23.el9_7.2RLSA-2026:8259
Rocky Linux10vim2:9.1.083-6.el10_1.3RLSA-2026:7711
Alpinev3.23, v3.24vim9.2.0078-r0ALPINE-CVE-2026-28417
Azure Linux3vim9.2.0088-1AZL-78497
Alpaquita23, 25, streamvim9.2.0078-r0BELL-CVE-2026-28417

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The risk posed by this vulnerability is limited on Red Hat products due to user and system isolation features which are enabled by default. The impacts of this flaw will be limited by the active user's permissions and access control limits. Host systems are not at risk when following Red Hat guidelines and the root user account is not actively executing Vim.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10vim-2:9.1.083-6.el10_1.3Fixed 2026-04-13RHSA-2026:7711
Red Hat Enterprise Linux 10.0 Extended Update Supportvim-2:9.1.083-5.el10_0.2Fixed 2026-04-02RHSA-2026:6502
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONvim-2:7.4.629-5.el6_10.4Fixed 2026-09-21RHSA-2026:69128
Red Hat Enterprise Linux 7 Extended Lifecycle Supportvim-2:7.4.629-8.el7_9.1Fixed 2026-04-06RHSA-2026:6617
Red Hat Enterprise Linux 8vim-2:8.0.1763-22.el8_10.1Fixed 2026-04-07RHSA-2026:6915
Red Hat Enterprise Linux 8.2 Advanced Update Supportvim-2:8.0.1763-13.el8_2.1Fixed 2026-04-07RHSA-2026:6730
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportvim-2:8.0.1763-15.el8_4.1Fixed 2026-04-07RHSA-2026:6729
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onvim-2:8.0.1763-15.el8_4.1Fixed 2026-04-07RHSA-2026:6729
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportvim-2:8.0.1763-19.el8_6.5Fixed 2026-04-07RHSA-2026:6731
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicevim-2:8.0.1763-19.el8_6.5Fixed 2026-04-07RHSA-2026:6731
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsvim-2:8.0.1763-19.el8_6.5Fixed 2026-04-07RHSA-2026:6731
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicevim-2:8.0.1763-20.el8_8.1Fixed 2026-04-07RHSA-2026:6736
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsvim-2:8.0.1763-20.el8_8.1Fixed 2026-04-07RHSA-2026:6736
Red Hat Enterprise Linux 9vim-2:8.2.2637-23.el9_7.2Fixed 2026-04-15RHSA-2026:8259
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsvim-2:8.2.2637-16.el9_0.4Fixed 2026-04-06RHSA-2026:6619
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsvim-2:8.2.2637-20.el9_2.1Fixed 2026-04-06RHSA-2026:6620
Red Hat Enterprise Linux 9.4 Extended Update Supportvim-2:8.2.2637-20.el9_4.2Fixed 2026-04-02RHSA-2026:6540
Red Hat Enterprise Linux 9.6 Extended Update Supportvim-2:8.2.2637-22.el9_6.2Fixed 2026-04-02RHSA-2026:6539
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202604281506-0Fixed 2026-05-08RHSA-2026:12274
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202604080111-0Fixed 2026-04-16RHSA-2026:7239
19 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-28417.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-247 XSS Using Invalid Characters Severity: Medium
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON