| 제목 | 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. PM 05:58 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 08. 03. AM 11:41 (2 months later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 385555 [langgenius dify 까지 1.14.2 Jinja2 jinja2_transformer.py jinja2.Template 권한 상승] |
|---|
| 포인트들 | 20 |
|---|