Vulnerability
CVE-2026-25526
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.
15 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-c6g6-p2x3-2wqw
- CGA-cgjw-c59v-4pgv
- CGA-cr3m-5cxr-hc7r
- CGA-fj7p-xfpf-rwv7
- CGA-g9r3-rg8q-242q
- CGA-h7vg-w28w-4pjx
- CGA-hpmc-2hrf-g4hv
- CGA-pfp8-j5rq-7jx8
- CGA-prr7-h5mr-542m
- CGA-qmgc-jpqj-9rxm
- CGA-r6xg-h3g8-rwh4
- CGA-rjx5-xqcw-hfp2
- CGA-w9fw-wjg3-cvpx
- CGA-xvjj-693g-q423
-
GHSA-gjx9-j8f8-7j74
JinJava Bypass through ForTag leads to Arbitrary Java Execution
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