Bug 2492970 (CVE-2026-55895) - CVE-2026-55895 vim: Vim: Arbitrary code execution via Vimscript code injection in netrw plugin
Summary: CVE-2026-55895 vim: Vim: Arbitrary code execution via Vimscript code injectio...
Keywords:
Status: NEW
Alias: CVE-2026-55895
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2494934
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-25 16:01 UTC by OSIDB Bzimport
Modified: 2026-07-01 05:37 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-25 16:01:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.