Skip to main content
EPSS 0.2%top 86%

CVE-2026-18632: Improper Neutralization of Special Elements Used in a Template Engine in langgenius dify

0
Medium
VulnerabilityCVE-2026-18632cvecve-2026-18632
Published: 08/03/2026 (08/03/2026, 19:30:08 UTC)
Source: CVE Database V5
Vendor/Project: langgenius
Product: dify

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.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS: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

Affected software

langgenius

dify

Affected versions
=1.14.0=1.14.1=1.14.2
dify
pkg:pypi/dify
Affected versions
=1.14.0=1.14.1=1.14.2
CPE configurations
cpe:2.3:a:langgenius:dify:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 20:06:44 UTC

Technical Analysis

CVE-2026-18632 is a medium severity vulnerability affecting langgenius dify versions 1.14.0, 1.14.1, and 1.14.2. It involves improper neutralization of special elements used in the Jinja2 template engine, specifically in the jinja2.Template function of the Jinja2 Handler component. This flaw may allow remote attackers to manipulate template processing, potentially leading to unintended code execution or data exposure. The vulnerability is publicly disclosed with exploit code available, but no official vendor remediation or patch has been released as of the publication date.

Potential Impact

The vulnerability allows remote attackers to exploit improper neutralization in the template engine, which may lead to unauthorized code execution or data manipulation within the affected application. The CVSS 4.0 base score is 5.3 (medium), indicating a moderate risk with network attack vector, low complexity, and no user interaction required. The vendor has not issued a fix or mitigation guidance, increasing exposure risk.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded or released a fix, users should consider applying additional controls such as restricting network access to the affected service, monitoring for suspicious template usage, or temporarily disabling vulnerable functionality if feasible until an official patch is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-08-03T09:41:13.760Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a70f0bfbf32cb7a341a7780

Added to database: 08/03/2026, 19:49:19 UTC

Last enriched: 08/03/2026, 20:06:44 UTC

Last updated: 09/17/2026, 22:01:33 UTC

Views: 59

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses