Vulnerability · Published Feb 4, 2026 · Assigned by GitHub_M

CVE-2026-25526JinJava Bypass through ForTag leads to Arbitrary Java Execution

Critical 9.8

In plain English

A critical-severity security flaw in jinjava from HubSpot. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.0%top 38.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavencom.hubspot.jinjava:jinjava2.8.3GHSA-gjx9-j8f8-7j74
Mavencom.hubspot.jinjava:jinjava2.7.6GHSA-gjx9-j8f8-7j74

Affected products (as reported)

VendorProductVersions
HubSpot jinjava < 2.7.6< 2.8.3

Weakness: CWE-1336 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References