製品・ソフトウェアに関する情報
LangGenius, Inc.のDifyにおける相対パストラバーサルの脆弱性
Title LangGenius, Inc.のDifyにおける相対パストラバーサルの脆弱性
Summary

Dify バージョン 1.14.1 以前には、認証済みユーザーが不十分なURLパスのサニタイズを悪用することで、プラグインデーモンの内部REST APIへ転送されるリクエストを操作できるパストラバーサルの脆弱性が存在します。攻撃者は、タスク識別子内のエンコードされていないドットシーケンスや操作されたファイル名パラメータを使用して、権限のあるテナントパスの外側へ移動し、被害テナントのUUIDを知っているだけでデバッグインターフェースなどの内部エンドポイントにアクセスできます。なお、Dify Cloudは認証なしの無料自己登録を許可しているため、攻撃者は簡単にアカウントを作成することが可能です。

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

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

Publication Date May 18, 2026, midnight
Registration Date May 21, 2026, 10:52 a.m.
Last Update May 21, 2026, 10:52 a.m.
CVSS3.0 : 緊急
Score 9.4
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Affected System
LangGenius, Inc.
Dify 1.14.1 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月21日]
  掲載
May 21, 2026, 10:52 a.m.

NVD Vulnerability Information
CVE-2026-41948
Summary

Dify version 1.14.1 and prior contain a path traversal vulnerability that allows authenticated users to manipulate requests forwarded to the Plugin Daemon's internal REST API by exploiting insufficient URL path sanitization. Attackers can traverse out of their authorized tenant path using unencoded dot sequences in task identifiers or manipulated filename parameters to access internal endpoints such as debug interfaces, requiring only knowledge of the victim tenant's UUID. NOTE: Dify Cloud allows unauthenticated free self-registration, making account creation trivially accessible to any attacker.

Publication Date May 19, 2026, 12:16 a.m.
Registration Date May 19, 2026, 4:14 a.m.
Last Update May 20, 2026, 4:25 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:* 1.14.1
Related information, measures and tools
Common Vulnerabilities List