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

Vimはオープンソースのコマンドラインテキストエディタです。バージョン9.2.0435以前のVimの:findコマンドライン補完には、OSコマンドインジェクションの脆弱性があります。pathオプションにバッククォートで囲まれたシェルコマンドが含まれている場合、そのコマンドはファイル名補完時に実行されます。pathオプションはP_SECUREフラグが設定されていないため、モデルラインから設定可能です。そのため、ファイルの内容を制御できる攻撃者は、ユーザーがそのファイルをVimで開き:find補完をトリガーした際に任意のシェルコマンドを実行できます。この問題はバージョン9.2.0435で修正されました。

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

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

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

NVD Vulnerability Information
CVE-2026-44656
Summary

Vim is an open source, command line text editor. Prior to version 9.2.0435, an OS command injection vulnerability exists in Vim's :find command-line completion. When the path option contains backtick-enclosed shell commands, those commands are executed during file name completion. Because the path option lacks the P_SECURE flag, it can be set from a modeline, allowing an attacker who controls the contents of a file to execute arbitrary shell commands when the user opens that file in Vim and triggers :find completion. This issue has been patched in version 9.2.0435.

Publication Date May 9, 2026, 8:16 a.m.
Registration Date May 10, 2026, 4:10 a.m.
Last Update May 14, 2026, 10:59 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* 9.2.0435
Related information, measures and tools
Common Vulnerabilities List