# CVE-2026-25526: JinJava Bypass through ForTag leads to Arbitrary Java Execution

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 63% of CVEs (2026-12-01)
- Published: 2026-02-03T17:52:55.000Z
- Modified: 2026-09-10T03:50:35.197Z
- Also known as: GHSA-gjx9-j8f8-7j74
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- HubSpot jinjava: < 2.7.6; < 2.8.3; before 2.7.6; from 2.8.0 before 2.8.3
- com.hubspot.jinjava:jinjava (Maven): from 2.8.0 before 2.8.3; before 2.7.6

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74> (patch, vendor-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2026-25526> (advisory)
- <https://github.com/HubSpot/jinjava> (package)

## Sources

- CVE List: [CVE-2026-25526](https://www.cve.org/CVERecord?id=CVE-2026-25526), CVE Terms of Use, modified 2026-02-05
- GitHub Advisory Database: [GHSA-gjx9-j8f8-7j74](https://github.com/advisories/GHSA-gjx9-j8f8-7j74), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-25526](https://nvd.nist.gov/vuln/detail/CVE-2026-25526), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25526 · Whole record: https://cve.day/CVE-2026-25526.json · Rebuilt by cve.day 2026-11-25T22:59:13.509Z
