Difyに認証済みユーザーが内部ネットワークへ不正なリクエストを送れる脆弱性
Summary
Dify 1.15.0より前の版には、ログイン済みのコンソールユーザーがSSRF対策を回避し、内部サービスやクラウドのメタデータへ任意のHTTPリクエストを送れる脆弱性(CVE-2026-58141)があります。AWS環境ではIAM認証情報が読み取られるおそれもあります。修正版の1.15.0に更新してください。認証済みユーザーが対象になるため、早めの更新が望ましいです。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Dify 1.15.0より前の版には、ログイン済みのコンソールユーザーがSSRF対策を回避し、内部サービスやクラウドのメタデータへ任意のHTTPリクエストを送れる脆弱性(CVE-2026-58141)があります。AWS環境ではIAM認証情報が読み取られるおそれもあります。修正版の1.15.0に更新してください。認証済みユーザーが対象になるため、早めの更新が望ましいです。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| langgeniusdify |
≥ 0.6.0, < 1.15.0→ 1.15.0 |
1.15.0 |
Original description The description as published by the source.
Dify before 1.15.0 contains a server-side request forgery vulnerability that allows any authenticated console user to bypass SSRF protections and issue arbitrary HTTP requests to internal services and cloud metadata endpoints due to the Squid proxy configuration only defining source ACLs without destination deny rules and the make_request() helper performing no independent destination IP validation. Attackers can use endpoints such as GET /console/api/remote-files/, POST /console/api/remote-files/upload, the HTTP Request workflow node, website crawl, or document import from URL to reach internal components like the sandbox, internal APIs, and PostgreSQL, and on AWS deployments read IAM credentials from the instance metadata service, with the HTTP Request node further enabling POST, PUT, and DELETE writes to internal services relying on network isolation for authorization.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com