CVE-2026-42307 MEDIUM

CVE-2026-42307: Vim: OS Command Injection in netrw

Vendor Vim
Product vim
Weakness CWE-78
Published May 8, 2026
Last update May 13, 2026

CVSS base score

4.4/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 8, 2026 CVE published
May 13, 2026 Record updated