CVE-2026-18632

MEDIUM

langgenius dify Jinja2 jinja2_transformer.py jinja2.Template special elements used in a template engine

Title source: cna
STIX 2.1

Description

A security flaw has been discovered in langgenius dify up to 1.14.2. This issue affects the function jinja2.Template of the file api/core/helper/code_executor/jinja2/jinja2_transformer.py of the component Jinja2 Handler. The manipulation results in improper neutralization of special elements used in a template engine. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

References (5)

Core 5
Core References
Vdb Entry, Technical Description vdb-entry technical-description
VDB-385555 | langgenius dify Jinja2 jinja2_transformer.py jinja2.Template special elements used in a template engine
https://vuldb.com/vuln/385555
Signature, Permissions Required signature permissions-required
VDB-385555 | CTI Indicators (IOB, IOC, TTP, IOA)
https://vuldb.com/vuln/385555/cti
Third Party Advisory third-party-advisory
CVE-2026-18632 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-18632
Third Party Advisory third-party-advisory
Submit #853188 | GitHub Dify 1.14.2 Injection
https://vuldb.com/submit/853188
Exploit exploit issue-tracking
https://github.com/CVE-Hunter-Leo/CVE/issues/14

Scores

CVSS v3 6.3
EPSS 0.0038
EPSS Percentile 30.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-1336 CWE-791
Status published
Products (3)
langgenius/dify 1.14.0
langgenius/dify 1.14.1
langgenius/dify 1.14.2
Published Aug 03, 2026
Tracked Since Aug 04, 2026