製品・ソフトウェアに関する情報
VimにおけるOS コマンドインジェクションの脆弱性
Title VimにおけるOS コマンドインジェクションの脆弱性
Summary

Vimはオープンソースのコマンドラインテキストエディタです。バージョン9.2.0357以前において、Vimのタグファイル処理にコマンドインジェクションの脆弱性があります。タグを解決する際、タグファイルのファイル名フィールドは環境変数やワイルドカードを解決するためにワイルドカード展開を経ます。ファイル名フィールドにバックティック構文(例:`command`)が含まれている場合、Vimは実行ユーザーの権限でシステムシェルを介して埋め込まれたコマンドを実行します。

Possible impacts 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアの一部が停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 24, 2026, midnight
Registration Date April 28, 2026, 10:11 a.m.
Last Update April 28, 2026, 10:11 a.m.
CVSS3.0 : 警告
Score 6.6
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
Affected System
Vim
Vim 9.2.0357 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月28日]
  掲載
April 28, 2026, 10:11 a.m.

NVD Vulnerability Information
CVE-2026-41411
Summary

Vim is an open source, command line text editor. Prior to 9.2.0357, A command injection vulnerability exists in Vim's tag file processing. When resolving a tag, the filename field from the tags file is passed through wildcard expansion to resolve environment variables and wildcards. If the filename field contains backtick syntax (e.g., `command`), Vim executes the embedded command via the system shell with the full privileges of the running user.

Publication Date April 25, 2026, 2:16 a.m.
Registration Date April 25, 2026, 4:08 a.m.
Last Update April 27, 2026, 10:39 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* 9.2.0357
Related information, measures and tools
Common Vulnerabilities List