CVE-2025-59340 — Vulnerability in com.hubspot.jinjava:jinjava —...
jinjava has Sandbox Bypass via JavaType-Based Deserialization
Summary
Advisory Timeline
- First published September 17, 2025 (390 days ago).
- Last revised July 31, 2026 — 317 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.8.1 for com.hubspot.jinjava:jinjava -->
<!-- Update pom.xml dependency version to 2.7.5 for com.hubspot.jinjava:jinjava -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| com.hubspot.jinjava:jinjava | maven | 2.8.0 | 2.8.1 |
| com.hubspot.jinjava:jinjava | maven | 2.7.0, 2.7.1, 2.7.2, 2.7.3 (+1 more) | 2.7.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1336
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
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-m49c-g9wr-hv6vWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-59340ADVISORY
- https://github.com/github/advisory-database/pull/8141WEB
- https://github.com/HubSpot/jinjava/commit/66df351e7e8ad71ca04dcacb4b65782af820b8b1WEB
- https://github.com/HubSpot/jinjavaPACKAGE
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.7.5WEB
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.8.1WEB
Frequently Asked Questions
- What is CVE-2025-59340?
- jinjava has Sandbox Bypass via JavaType-Based Deserialization This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-59340?
- CVE-2025-59340 affects com.hubspot.jinjava:jinjava. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-59340 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-25526CRITICAL
JinJava Bypass through ForTag leads to Arbitrary Java Execution
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies