| Título | GitHub Dify 1.14.2 Injection |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/CVE-Hunter-Leo/CVE/issues/14 |
|---|
| Utilizador | CW.Wong (UID 88449) |
|---|
| Submissão | 09/06/2026 17h58 (há 2 meses) |
|---|
| Moderação | 03/08/2026 11h41 (2 months later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 385555 [langgenius dify até 1.14.2 Jinja2 jinja2_transformer.py jinja2.Template Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|