CVE-2026-42307

MEDIUM CVSS 3.1: 4.4 EPSS 0.77%
Updated Jul 25, 2026
Vim
Parameter Value
CVSS 4.4 (MEDIUM)
Affected Versions before 9.2.0383
Fixed In 9.2.0383
Type CWE-78 (OS Command Injection)
Vendor Vim
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Vim Vim
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
— 9.2.0383