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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-73077— Vim: Arbitrary Code Execution via Shell Keyword Lookup

Quick assessment

Affected
vim vim
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Vim是Vim组织开源的一款高效的文本编辑器。 Vim 9.2.0839之前版本存在命令注入漏洞,该漏洞源于runtime/ftplugin/sh.vim、runtime/ftplugin/zsh.vim和runtime/ftplugin/ps1.vim文件类型插件将攻击者控制的Visual模式选择从K传递给keywordprg命令,未安全分隔shell参数,可能导致以运行Vim的用户权限执行任意操作系统命令。

CVSS 8.4 · High EPSS 0.14% · P3

Affected Version Matrix 1

VendorProduct Version RangeStatus
vim vim < 9.2.0839 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-73077

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: Arbitrary Code Execution via Shell Keyword Lookup
Source: CVE Program / CVE List V5
Vulnerability Description
Vim is an open source, command line text editor. Prior to 9.2.0839, the runtime/ftplugin/sh.vim, runtime/ftplugin/zsh.vim, and runtime/ftplugin/ps1.vim filetype plugins pass attacker-controlled Visual-mode selections from K through keywordprg commands without safely separating shell arguments. fnameescape() and PATH_ESC_CHARS do not neutralize shell metacharacters before ShKeywordPrg, ZshKeywordPrg, or GetHelp invokes bash, zsh, or PowerShell, allowing arbitrary operating-system commands to execute with the privileges of the user running Vim. This issue is fixed in version 9.2.0839.
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
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.0839之前版本存在命令注入漏洞,该漏洞源于runtime/ftplugin/sh.vim、runtime/ftplugin/zsh.vim和runtime/ftplugin/ps1.vim文件类型插件将攻击者控制的Visual模式选择从K传递给keywordprg命令,未安全分隔shell参数,可能导致以运行Vim的用户权限执行任意操作系统命令。
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

Vendor Product Affected Versions CPE Subscribe
vim vim < 9.2.0839 -

II. Public POCs for CVE-2026-73077

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6426 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-73077

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-73077 (1)

Vendor Advisories for CVE-2026-73077 (1)

Same Patch Batch · vim · 2026-08-11 · 8 CVEs total

CVE-2026-73078 8.6 HIGH Vim: Arbitrary Code Execution via Netrw Menu Construction
CVE-2026-73072 8.5 HIGH Vim: Heap Buffer Overflow when Loading a Spell File
CVE-2026-73076 8.4 HIGH Vim: Arbitrary Command Execution via Malicious `.VimballRecord` Entry Replay in `vimball.v
CVE-2026-73074 7.1 HIGH Vim: Heap Buffer Overflow in Text Property Handling
CVE-2026-73070 6.8 MEDIUM Vim: Stack Buffer Overflow in the Vim Socket Server
CVE-2026-73075 4.6 MEDIUM Vim: Out-of-bounds Access in Popup Opacity Handling
CVE-2026-73071 3.3 LOW Vim: Use-after-free in JSON Decoding

IV. Related Vulnerabilities

V. Comments for CVE-2026-73077

No comments yet


Leave a comment