Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-55895— Vim: Vimscript Code Injection in netrw NetrwLocalRmFile() via crafted filename

AI Predicted 8.8 Difficulty: Easy EPSS 0.15% · P5

Affected Version Matrix 1

VendorProductVersion RangeStatus
vimvim< 9.2.0663affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-55895

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Vim: Vimscript Code Injection in netrw NetrwLocalRmFile() via crafted filename
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Vim 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Vim是Vim组织开源的一款跨平台的文本编辑器。 Vim 9.2.0663之前版本存在安全漏洞,该漏洞源于从浏览器删除本地文件时,通过缓冲区的目录列表导出的文件名被嵌入至Ex命令行的:execute执行,仅转义反斜杠字符,可能导致特制的文件名包含竖线(|)终止原定命令并执行任意Vimscript及shell命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
vimvim < 9.2.0663 -

II. Public POCs for CVE-2026-55895

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55895

登录查看更多情报信息。

Patches & Fixes for CVE-2026-55895 (2)

Vendor Advisories for CVE-2026-55895 (1)

Same Patch Batch · vim · 2026-06-25 · 9 CVEs total

CVE-2026-574536.5 MEDIUMVim: PowerShell Command Injection via Unescaped Filename in zip.vim Extraction
CVE-2026-574525.5 MEDIUMVim: Out-of-bounds Read with libsodium-encrypted Files
CVE-2026-558925.5 MEDIUMVim: Out-of-bounds Write in Spell File Prefix Dump
CVE-2026-574515.3 MEDIUMVim: Out-of-bounds Read in Text Property Count
CVE-2026-57456Vim: Arbitrary Code Execution via Python Omni-Completion Docstrings
CVE-2026-57455Vim: Stack out-of-bounds write in `spell_soundfold_sofo()` via an over-length `soundfold()
CVE-2026-57454Vim: Out-of-bounds Read with Text Properties
CVE-2026-55693Vim: Out-of-bounds Write in Spell File Word Count

IV. Related Vulnerabilities

V. Comments for CVE-2026-55895

No comments yet


Leave a comment