製品・ソフトウェアに関する情報
charmのWishにおけるパストラバーサルの脆弱性
Title charmのWishにおけるパストラバーサルの脆弱性
Summary

Wishはデフォルト設定および複数のミドルウェアを備えたSSHサーバーです。バージョン2.0.0から2.0.1の前のバージョンにおいて、charm.land/wish/v2のSCPミドルウェアにパストラバーサル攻撃の脆弱性が存在します。悪意のあるSCPクライアントは、SCPプロトコル経由で../シーケンスを含む細工されたファイル名を送信することで、サーバーから任意のファイルを読み取ったり、サーバーに任意のファイルを書き込んだり、設定されたルートディレクトリの外にディレクトリを作成したりすることが可能です。この問題はバージョン2.0.1で修正されました。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 7, 2026, midnight
Registration Date June 3, 2026, 5:04 p.m.
Last Update June 3, 2026, 5:04 p.m.
CVSS3.0 : 緊急
Score 9.6
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Affected System
charm
Wish 2.0.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月03日]
  掲載
June 3, 2026, 5:04 p.m.

NVD Vulnerability Information
CVE-2026-41589
Summary

Wish is an SSH server with defaults and a collection of middlewares. From version 2.0.0 to before version 2.0.1, the SCP middleware in charm.land/wish/v2 is vulnerable to path traversal attacks. A malicious SCP client can read arbitrary files from the server, write arbitrary files to the server, and create directories outside the configured root directory by sending crafted filenames containing ../ sequences over the SCP protocol. This issue has been patched in version 2.0.1.

Publication Date May 7, 2026, 11:16 p.m.
Registration Date May 8, 2026, 4:09 a.m.
Last Update May 8, 2026, 1:16 a.m.
Related information, measures and tools
Common Vulnerabilities List