CVE & CISA-KEV Catalog

CVE-2025-59340

CRITICALEPSS 82th pctl
9.8
CVSS v3
NVD

Description

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

Remediation Available
jinjavaNVD
Affected:< 2.8.1Fixed in:2.8.1CVE-2025-59340derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

2.31%probability of exploitation in 30 days
82ndpercentile

Elevated risk: more likely to be exploited than 82% of all known CVEs.

References

Vendor Advisory1
Release Notes1

Related Vulnerabilities

Other CWE-1336 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-4040Critical9.8100%KEVFix
CVE-2024-23692Critical9.899%KEV-
CVE-2025-47916Critical10.085%-Fix
CVE-2024-32651Critical10.084%--
CVE-2022-25813High7.567%-Fix
CVE-2025-34300Unscored-49%--
Embed a live status badge for CVE-2025-59340
CVE-2025-59340 severity badge

Markdown

[![CVE-2025-59340](https://tridentstack.com/cve/badge/CVE-2025-59340.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.