CVE-2025-59340
CRITICALEPSS 82th pctlDescription
jinjava is a Java-based template engine based on django template syntax, adapted to render jinja templates. Priori to 2.8.1, by using mapper.getTypeFactory().constructFromCanonical(), it is possible to instruct the underlying ObjectMapper to deserialize attacker-controlled input into arbitrary classes. This enables the creation of semi-arbitrary class instances without directly invoking restricted methods or class literals. As a result, an attacker can escape the sandbox and instantiate classes such as java.net.URL, opening up the ability to access local files and URLs(e.g., file:///etc/passwd). With further chaining, this primitive can potentially lead to remote code execution (RCE). This vulnerability is fixed in 2.8.1.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Elevated risk: more likely to be exploited than 82% of all known CVEs.
References
Related Vulnerabilities
Other CWE-1336 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-4040 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2024-23692 | Critical | 9.8 | 99% | KEV | - |
| CVE-2025-47916 | Critical | 10.0 | 85% | - | Fix |
| CVE-2024-32651 | Critical | 10.0 | 84% | - | - |
| CVE-2022-25813 | High | 7.5 | 67% | - | Fix |
| CVE-2025-34300 | Unscored | - | 49% | - | - |
Embed a live status badge for CVE-2025-59340
Markdown
[](https://tridentstack.com/cve/CVE-2025-59340)HTML
<a href="https://tridentstack.com/cve/CVE-2025-59340"><img src="https://tridentstack.com/cve/badge/CVE-2025-59340.svg" alt="CVE-2025-59340"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-26.