CVE-2026-55895

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

History

26 Jun 2026, 03:54

Type Values Removed Values Added
First Time Vim vim
Vim
CPE cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References () https://github.com/vim/vim/commit/55bc757a5d436e59d50fe43f7cda94b118f86cb2 - () https://github.com/vim/vim/commit/55bc757a5d436e59d50fe43f7cda94b118f86cb2 - Patch
References () https://github.com/vim/vim/releases/tag/v9.2.0663 - () https://github.com/vim/vim/releases/tag/v9.2.0663 - Product
References () https://github.com/vim/vim/security/advisories/GHSA-vhh8-v6wx-hjjh - () https://github.com/vim/vim/security/advisories/GHSA-vhh8-v6wx-hjjh - Vendor Advisory

25 Jun 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-25 16:16

Updated : 2026-06-26 05:16


NVD link : CVE-2026-55895

Mitre link : CVE-2026-55895

CVE.ORG link : CVE-2026-55895


JSON object : View

Products Affected

vim

  • vim
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-94

Improper Control of Generation of Code ('Code Injection')