CVE-2026-28417
Vim has OS Command Injection in netrw
Reported by github_m · Published February 27, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vim-X11 | errata.rockylinux.org | 2:9.1.083-6.el10_1.3.aarch64, 2:8.2.2637-23.el9_7.2.x86_64, 2:8.2.2637-23.el9_7.2.ppc64le, 2:8.0.1763-22.el8_10.1.x86_64 |
| vim-enhanced-debuginfo | errata.rockylinux.org | 2:9.1.083-6.el10_1.3.x86_64, 2:9.1.083-6.el10_1.3.s390x, 2:9.1.083-6.el10_1.3.ppc64le, 2:8.2.2637-23.el9_7.2.x86_64, 2:8.2.2637-23.el9_7.2.ppc64le, 2:8.0.1763-22.el8_10.1.x86_64, 2:8.0.1763-22.el8_10.1.aarch64 |
| vim-minimal | errata.rockylinux.org | 2:9.1.083-6.el10_1.3.aarch64, 2:8.2.2637-23.el9_7.2.aarch64, 2:8.0.1763-22.el8_10.1.x86_64, 2:8.0.1763-22.el8_10.1.aarch64 |
| vim-common | Amazon Linux | 2:9.2.240-1.amzn2023.0.2 |
| vim-debuginfo | errata.rockylinux.org | 2:9.1.083-6.el10_1.3.x86_64, 2:8.2.2637-23.el9_7.2.s390x, 2:8.2.2637-23.el9_7.2.aarch64, 2:8.0.1763-22.el8_10.1.x86_64 |
| vim | Alpine | 9.2.0078-r0 |
| vim-debugsource | errata.rockylinux.org | 2:9.1.083-6.el10_1.3.x86_64, 2:9.1.083-6.el10_1.3.aarch64, 2:8.2.2637-23.el9_7.2.aarch64, 2:8.0.1763-22.el8_10.1.x86_64, 2:8.0.1763-22.el8_10.1.aarch64 |
| xxd | Amazon Linux | 2:9.2.240-1.amzn2023.0.2 |
| vim-common-debuginfo | errata.rockylinux.org | 2:8.0.1763-22.el8_10.1.x86_64 |
| vim-filesystem | errata.rockylinux.org | 2:9.1.083-6.el10_1.3.noarch, 2:8.2.2637-23.el9_7.2.noarch, 2:8.0.1763-22.el8_10.1.noarch |
| vim-common | errata.rockylinux.org | 2:9.1.083-6.el10_1.3.x86_64, 2:9.1.083-6.el10_1.3.s390x, 2:9.1.083-6.el10_1.3.ppc64le, 2:8.2.2637-23.el9_7.2.s390x, 2:8.2.2637-23.el9_7.2.aarch64 |
| vim | errata.rockylinux.org | 2:9.1.083-6.el10_1.3.src, 2:8.2.2637-23.el9_7.2.src, 2:8.0.1763-22.el8_10.1.src |
9 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | < 9.2.0073 |
| amazon:2023 | vim-common | 0 |
| alpine | vim | 0 |
| amazon:2023 | xxd | 0 |
| amazon:2023 | vim-filesystem | 0 |
| amazon:2023 | vim-data | 0 |
| vim | vim | 0 |
| amazon:2023 | vim-enhanced | 0 |
| amazon:2023 | vim-default-editor | 0 |
| amazon:2023 | vim-minimal | 0 |
Timeline
- Feb 27, 2026 CVE Published
- Feb 28, 2026 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Coalition ESS Score (2 in total, the first dated here)
- Apr 2, 2026 Security Advisory (35 in total, the first dated here)
- Apr 3, 2026 Distribution Patch (30 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-28417
vulnetix vdb fixes CVE-2026-28417
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-28417/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/vim/vim/security/advisories/GHSA-m3xh-9434-g336 x_refsource_CONFIRM
- https://github.com/vim/vim/commit/79348dbbc09332130f4c860 x_refsource_MISC
- https://github.com/vim/vim/releases/tag/v9.2.0073 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2026/02/27/6 url