VDB

CVE-2026-42307

CVE-2026-42307 PUBLISHED CVSS 4.4 MEDIUM

Vim: OS Command Injection in netrw

Reported by github_m · Published May 8, 2026

Vim is an open source, command line text editor. Prior to version 9.2.0383, 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 sftp:// or file:// protocol handlers), an attacker can execute arbitrary shell commands with the privileges of the Vim process. This issue has been patched in version 9.2.0383.

EPSS 0.77% · 56.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
vim-default-editorAmazon Linux2:9.2.597-1.amzn2023.0.1
vim-enhancedAmazon Linux2:9.2.597-1.amzn2023.0.1
vim-filesystemAmazon Linux2:9.2.597-1.amzn2023.0.1

Risk scores

CVSS 3.1
4.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS Score
0.77%
56.6th percentile

Affected products

VendorProductVersions
vimvim< 9.2.0383
vimvim0

Timeline

  • May 8, 2026 CVE Published
  • May 10, 2026 Security Advisory (3 in total, the first dated here)
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Aug 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-42307
vulnetix vdb fixes CVE-2026-42307

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-42307/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›