JLSEC-2026-1851: Command Injection
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Vimto a version that resolves this vulnerability.Fixed in 9.2.0073
Event History
Frequently Asked Questions
What must an attacker do to exploit this issue?
The attacker must induce a user to open a crafted URL in Vim, such as one using the scp:// protocol handler. Exploitation requires user interaction but no privileges on the target system.
What level of access could successful exploitation provide?
An attacker can execute arbitrary shell commands with the privileges of the Vim process. The impact includes compromise of confidentiality, integrity, and availability within that privilege context.
Which versions address the vulnerability?
Vim version 9.2.0073 fixes the issue. Versions prior to 9.2.0073 are described as affected.