RCE in Vim

CVE-2026-42307

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 fi…

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.002 (45.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.

Affected products

  • Vim — versions < 9.2.0383

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-42307?
CVE-2026-42307 is a medium-severity vulnerability in Vim, classified under OS Command Injection. CVSS score: 4.4/10. Published 2026-05-08.
How severe is CVE-2026-42307?
Medium severity. CVSS v3 base score is 4.4 out of 10.