VimにおけるOS コマンドインジェクションの脆弱性
| Title |
VimにおけるOS コマンドインジェクションの脆弱性
|
| Summary |
Vimはオープンソースのコマンドラインテキストエディタです。バージョン9.2.0383以前には、Vimにバンドルされている標準プラグインnetrwにOSコマンドインジェクションの脆弱性が存在していました。ユーザーに細工されたURL(例:sftp://やfile://プロトコルハンドラを使用するURL)を開かせることで、攻撃者はVimプロセスの権限で任意のシェルコマンドを実行できます。この問題はバージョン9.2.0383で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 8, 2026, midnight |
| Registration Date |
May 18, 2026, 12:14 p.m. |
| Last Update |
May 18, 2026, 12:14 p.m. |
|
CVSS3.0 : 警告
|
| Score |
4.4
|
| Vector |
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月18日] 掲載 |
May 18, 2026, 12:14 p.m. |
NVD Vulnerability Information
CVE-2026-42307
| Summary |
Vim is an open source, command line text editor. Prior to version 9.2.0383, an OS command injection vulnerability exists in the netrw standard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using the sftp:// or file:// protocol handlers), an attacker can execute arbitrary shell commands with the privileges of the Vim process. This issue has been patched in version 9.2.0383.
|
| Publication Date |
May 9, 2026, 8:16 a.m. |
| Registration Date |
May 10, 2026, 4:10 a.m. |
| Last Update |
May 14, 2026, 10:55 p.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* |
|
|
|
9.2.0383 |
Related information, measures and tools
Common Vulnerabilities List