Skip to content
MediumVulnerability

CVE-2026-18632: Dify template injection via jinja2.Template in Jinja2 Handler

Identifier
CVE-2026-18632
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A security flaw in langgenius dify up to 1.14.2 affects the function jinja2.Template in api/core/helper/code_executor/jinja2/jinja2_transformer.py, within the Jinja2 Handler component. Improper neutralization of special elements used in a template engine allows remote manipulation, and a public exploit exists. The vendor was contacted early about the disclosure but did not respond.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.