CVE-2026-28417 Details
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.
A command injection vulnerability has been identified in the netrw standard plugin of Vim, affecting versions prior to 9.2.0073. The issue arises from insufficient validation of hostnames in URLs processed by netrw. This flaw allows an attacker to execute arbitrary shell commands with the privileges of the Vim process by crafting a malicious URL that includes shell metacharacters. The vulnerability is exploited when netrw invokes the shell via the ':r!' command, making it necessary for the user to open the crafted URL.
Users can upgrade to Vim version 9.2.0073 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/02/27/6 | CVE | Mailing ListPatchThird Party Advisory |
| https://github.com/vim/vim/commit/79348dbbc09332130f4c860 | [email protected] | Patch |
| https://github.com/vim/vim/releases/tag/v9.2.0073 | [email protected] | Release Notes |
| https://github.com/vim/vim/security/advisories/GHSA-m3xh-9434-g336 | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
| CWE-86 | Improper Neutralization of Invalid Characters in Identifiers in Web Pages | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vim vim | < 9.2.0073 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 3, 2026 | Initial Analysis | [email protected] |
| Feb 28, 2026 | CVE Modified | CVE |
| Feb 27, 2026 | New CVE Received | [email protected] |