Jinjava
CVE-2026-25526
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Jinja template with ForTag
-
ExploitBypass sandbox restrictions
-
ExecutionInstantiate arbitrary Java classes
-
ImpactExecute arbitrary code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | JinJava versions prior to 2.7.6 and 2.8.3 processing untrusted template input. Attacker must control template content passed to JinJava engine for rendering. |
| Impact | CVSS 9.8 with patch. JinJava is used in Java web applications for template rendering. SSTI provides direct RCE. |
| Exploit ScenarioDerived | An attacker injects Jinja template syntax (e.g., {{request.class.forName('java.lang.Runtime')}}) into user input that gets rendered by JinJava, achieving Java code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
JinJava template engine has a server-side template injection vulnerability enabling arbitrary code execution through crafted Jinja-style templates.
Earlier versions of this analysis (1)
SSTI in JinJava template engine enables arbitrary code execution.
RemediationAI
Update JinJava. Use sandboxed rendering mode.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
JinJava, a Java-based template engine using Jinja/Django syntax, has a CWE-1336 SSTI vulnerability that allows attackers to inject template expressions that execute arbitrary code.
Know when Jinjava gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
JinJava is a Java-based template engine based on django template syntax, adapted to render jinja templates. Prior to versions 2.7.6 and 2.8.3, JinJava is vulnerable to arbitrary Java execution via bypass through ForTag. This allows arbitrary Java class instantiation and file access bypassing built-in sandbox restrictions. This issue has been patched in versions 2.7.6 and 2.8.3.
Executive ViewAI
A critical vulnerability in JinJava (CVSS 9.8) allows attackers to execute arbitrary Java code on systems using affected versions, potentially compromising application integrity and sensitive data. Organizations running JinJava versions prior to 2.7.6 or 2.8.3 face immediate risk of unauthorized system access and data breach.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
GHSA-gjx9-j8f8-7j74
NVD
CVE.org
EPSS
Exploit-DB