JLSEC-2026-1882: Code Injection

Published Dec 2, 2026
·
Updated

Vim is an open source, command line text editor. Prior to 9.2.0663, a Vimscript code injection vulnerability exists in s:NetrwLocalRmFile() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when deleting a local file from the browser. A filename derived from the buffer's directory listing is interpolated into an Ex command line passed to :execute with only the backslash character escaped, allowing a crafted filename containing a bar (|) to terminate the intended command and execute arbitrary Vimscript, including shell commands via :call system() and :!. This vulnerability is fixed in 9.2.0663.

Affected Software

1 affected component
julia/vim_jll*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.2.0663

Event History

Dec 2, 2026
Advisory Published
via OSV·02:32 PM
Data Sourced
via OSV·02:32 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required to exploit this issue?

An attacker needs to cause a crafted filename containing a bar character (|) to appear in a local directory listing viewed through netrw. A user must then delete that file from the netrw browser, making this a local attack with required user interaction.

2

Who is most exposed?

Users who browse and delete files in attacker-controlled or untrusted local directories with Vim's netrw plugin are exposed. The vulnerable operation is deletion of a local file from the netrw browser, not merely opening Vim or viewing arbitrary text files.

3

What can be done if updating is not immediately possible?

Avoid deleting files through netrw when browsing directories that may contain attacker-controlled filenames. Delete such files using another file-management method instead, particularly when filenames may include a bar character.

4

How can I determine whether the installed Vim is affected?

Vim versions prior to 9.2.0663 are affected. Check the Vim version in the packaged julia/vim_jll software and determine whether it includes the fix released in Vim 9.2.0663.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203