CVE-2026-18632
JSON

5.3medium

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

Severity
5.3medium CVSS:4.0 by VulDB
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB

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.

Affected

Product or packageVersionsReported by
langgenius dify1.14.0, 1.14.1, 1.14.2CVE List

All scores

VulDB5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
VulDB6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB6.3medium CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Classification

CWE-791CWE-1336

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad de seguridad ha sido descubierta en langgenius dify hasta la versión 1.14.2. Este problema afecta a la función jinja2.Template del archivo api/core/helper/code_executor/jinja2/jinja2_transformer.py del componente Gestor Jinja2. La manipulación resulta en una neutralización indebida de elementos especiales utilizados en un motor de plantillas. El ataque puede lanzarse remotamente. El exploit ha sido publicado y puede ser utilizado para ataques. El proveedor fue contactado con antelación sobre esta divulgación, pero no respondió de ninguna manera.

References

https://vuldb.com/vuln/385555technical-description, vdb-entry
https://vuldb.com/vuln/385555/ctipermissions-required, signature
https://vuldb.com/cve/CVE-2026-18632third-party-advisory
https://vuldb.com/submit/853188third-party-advisory
https://github.com/CVE-Hunter-Leo/CVE/issues/14exploit, issue-tracking

Sources

SourceRecordLicence
CVE ListCVE-2026-18632 changed 2026-08-03CVE Terms of Use
NVDCVE-2026-18632 changed 2026-10-23Public domain