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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
GitHub 1 repository
-
av4nth1ka/jinjava-cve-2026-25526-poc ★ 3 · Feb 10, 2026
lab setup + exploits for CVE-2026-25526
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- https://github.com/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74
- 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