> CVE-2025-59340 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2025-09-17 20:15
MODIFIED
2025-09-26 13:11
CVSS_SCORE V3
9.8
EPSS (Prob. Exploit)
2.11%
Top 18.3%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-10-28 OSV 🔗 2026-03-01

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

> AFFECTED_PRODUCTS

Hubspot - Jinjava
< 2.8.1

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-m49c-g9wr-hv6v CRITICAL

jinjava has Sandbox Bypass via JavaType-Based Deserialization

AFFECTED PACKAGES:
MAVEN / com.hubspot.jinjava:jinjava
>= 2.7.0, < 2.7.5
Fixed in: 2.7.5
MAVEN / com.hubspot.jinjava:jinjava
= 2.8.0
Fixed in: 2.8.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

jinjava Sandbox Bypass via JavaType-Based Deserialization

AFFECTED PACKAGES:
Unknown / Unknown
30 versions affected
ALIASES:
GHSA-m49c-g9wr-hv6v

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/09/2025 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:08
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME