JLSEC-2026-1868: Command Injection
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.2.0383
Event History
Frequently Asked Questions
What user interaction is required for exploitation?
An attacker must induce a user to open a crafted URL through Vim, such as one using the sftp:// or file:// protocol handlers. No privileges are required before the user opens the URL.
What level of access could an attacker obtain?
Successful exploitation can execute arbitrary shell commands with the privileges of the Vim process. The stated impact includes limited confidentiality and integrity impact, with no availability impact.
Which versions contain the fix?
The issue is patched in Vim version 9.2.0383. Versions prior to 9.2.0383 are affected according to the available information.