What’s Vulnerable › Vulnerabilities
CVE-2026-25526: JinJava Bypass through ForTag leads to Arbitrary Java Execution
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-04 · updated 2026-06-17
- Weakness: CWE-1336
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
- HubSpot jinjava: before 2.7.6; from 2.8.0 before 2.8.3 — fixed in 2.7.6, 2.8.3
How to fix
Upgrade to a fixed version: HubSpot jinjava 2.7.6, 2.8.3. Check the vendor advisory for mitigations.
References
- https://github.com/HubSpot/jinjava/commit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998
- https://github.com/HubSpot/jinjava/commit/c7328dce6030ac718f88974196035edafef24441
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.7.6
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.8.3
- https://github.com/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74
Get alerted when CVE-2026-25526 or the next vulnerability affects your stack