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 + Ransom-
CVE-2025-47916Critical10.085%-Fix
CVE-2024-32651Critical10.084%--
CVE-2022-25813High7.567%-Fix
CVE-2025-34300Unscored-51%--

Common questions

How do I fix CVE-2025-59340?

Upgrade jinjava to 2.8.1 or later.

Is CVE-2025-59340 being actively exploited?

Not that we know of. CVE-2025-59340 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.3% is the estimated probability that it will be exploited in the next 30 days. That is higher than 82% of all scored CVEs.

How severe is CVE-2025-59340?

CVE-2025-59340 has a CVSS v3 base score of 9.8, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-59340 affect?

Published advisories record a fix for jinjava (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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.