Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2026-25526 EUVD-2026-5336GHSA-gjx9-j8f8-7j74

JinJava Bypass through ForTag leads to Arbitrary Java Execution

Published Feb 4, 2026 · Updated Feb 5, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
HubSpot jinjava < 2.7.6, < 2.8.3 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.hubspot.jinjava:jinjava >= 2.8.0, < 2.8.3 2.8.3 GHSA-gjx9-j8f8-7j74
Maven com.hubspot.jinjava:jinjava < 2.7.6 2.7.6 GHSA-gjx9-j8f8-7j74

References