| タイトル | GitHub Dify 1.14.2 Injection |
|---|
| 説明 | Dify's Jinja2 code executor uses the unrestricted jinja2.Template() constructor instead of jinja2.SandboxedEnvironment(). This allows attackers to escape the template sandbox and achieve arbitrary code execution by abusing Python's object introspection capabilities (__class__, __mro__, __subclasses__, etc.).
The same codebase correctly uses SandboxedEnvironment in other places (e.g. email rendering), indicating this is an inconsistency in security controls rather than a lack of awareness. |
|---|
| ソース | ⚠️ https://github.com/CVE-Hunter-Leo/CVE/issues/14 |
|---|
| ユーザー | CW.Wong (UID 88449) |
|---|
| 送信 | 2026年06月09日 17:58 (2 月 ago) |
|---|
| モデレーション | 2026年08月03日 11:41 (2 months later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 385555 [langgenius dify 迄 1.14.2 Jinja2 jinja2_transformer.py jinja2.Template 特権昇格] |
|---|
| ポイント | 20 |
|---|