Skip to main content

Jinjava CVE-2026-25526

CRITICAL
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-02-04 security-advisories@github.com GHSA-gjx9-j8f8-7j74
9.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Jinja template with ForTag
  2. Exploit
    Bypass sandbox restrictions
  3. Execution
    Instantiate arbitrary Java classes
  4. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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)
v1 Mar 12, 2026 - 21:54 CVSS 9.8

SSTI in JinJava template engine enables arbitrary code execution.

RemediationAI

Update JinJava. Use sandboxed rendering mode.

Affected Packages

maven com.hubspot.jinjava:jinjava fix: 2.7.6, 2.8.3

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

GitHub Advisory PRIMARY 9.8 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Feb 20, 2026 - 21:00 nvd
Patch available
CVE Published
Feb 04, 2026 - 22:15 nvd
CRITICAL 9.8

DescriptionGitHub 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:hubspot:jinjava:*:*:*:*:*:*:*:*
cpe:2.3:a:hubspot:jinjava:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy