CVE-2026-25526 json
JinJava Bypass through ForTag leads to Arbitrary Java Execution
published 9mo ago modified last mo. also EUVD-2026-5336 , GHSA-gjx9-j8f8-7j74
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.hubspot.jinjava:jinjava 2.7.6, 2.8.3
- com.hubspot.jinjava jinjava 2.7.6, 2.8.3
- hubspot jinjava 2.7.6, 2.8.3
Is CVE-2026-25526 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 9mo ago
Exploit prediction
0.97% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.hubspot.jinjava:jinjava | >=2.8.0, <2.8.3 <2.7.6 |
2.8.3 2.7.6 |
Affected products
- HubSpot jinjava
Classification
- Weakness
-
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
-
github.com
/HubSpot/jinjava/commit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998
web, patch
-
github.com
/HubSpot/jinjava/commit/c7328dce6030ac718f88974196035edafef24441
web, patch
-
github.com
/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74
web, patch, vendor-advisory
-
github.com
/HubSpot/jinjava/releases/tag/jinjava-2.7.6
web, product, release-notes
-
github.com
/HubSpot/jinjava/releases/tag/jinjava-2.8.3
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-25526
advisory
-
github.com
/HubSpot/jinjava
package
Sources
- CVE List CVE-2026-25526
- GitHub Advisory GHSA-gjx9-j8f8-7j74
- NVD CVE-2026-25526
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.