CVE-2026-25526
Unknown Unknown - Not Provided

Arbitrary Java Execution via ForTag in JinJava Template Engine

Vulnerability report for CVE-2026-25526, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-02-04

Last updated on: 2026-02-20

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-02-04
Last Modified
2026-02-20
Generated
2026-07-06
AI Q&A
2026-02-05
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
hubspot jinjava to 2.7.6 (exc)
hubspot jinjava From 2.8.0 (inc) to 2.8.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1336 The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects JinJava, a Java-based template engine that uses django template syntax to render jinja templates. Prior to versions 2.7.6 and 2.8.3, an attacker could exploit a bypass through the ForTag feature to execute arbitrary Java code. This means the attacker can instantiate any Java class and access files, circumventing the built-in sandbox restrictions designed to prevent such actions.

Impact Analysis

The vulnerability allows an attacker to execute arbitrary Java code remotely without any privileges or user interaction. This can lead to complete compromise of the affected system, including unauthorized access to sensitive files, data manipulation, and disruption of service. The CVSS score of 9.8 indicates a critical severity with high impact on confidentiality, integrity, and availability.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, upgrade JinJava to version 2.7.6 or 2.8.3 or later, where the issue has been patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-25526. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart