CVE-2026-25526
CRITICAL 9.8CVSS 3.1JinJava Bypass through ForTag leads to Arbitrary Java Execution
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.
- Published
- 4 Feb 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1336
- Also known as
- GHSA-gjx9-j8f8-7j74
- Sources
- NVDJSONOSV GHSA-gjx9-j8f8-7j74JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hubspot | jinjavacpe:2.3:a:hubspot:jinjava:*:*:*:*:*:*:*:* |
< 2.7.6 | 2.7.6 |
| NVD | hubspot | jinjavacpe:2.3:a:hubspot:jinjava:*:*:*:*:*:*:*:* |
>= 2.8.0, < 2.8.3 | 2.8.3 |
| OSV | Maven | com.hubspot.jinjava:jinjava | >= 2.8.0, < 2.8.3 | 2.8.3 |
| OSV | Maven | com.hubspot.jinjava:jinjava | < 2.7.6 | 2.7.6 |
References
- https://github.com/HubSpot/jinjava/commit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998 · Patch, WEB
- https://github.com/HubSpot/jinjava/commit/c7328dce6030ac718f88974196035edafef24441 · Patch, WEB
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.7.6 · Product, Release Notes, WEB
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.8.3 · Product, Release Notes, WEB
- https://github.com/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25526 · ADVISORY
- https://github.com/HubSpot/jinjava · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 4 Feb 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Feb 2026)