CVE-2025-59340: critical vulnerability in HubSpot jinjava
jinjava Sandbox Bypass via JavaType-Based Deserialization
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
jinjava template engine allows attackers to bypass security restrictions by tricking the system into creating arbitrary Java objects from user input, potentially enabling file theft or remote code execution.
CWE-1336 deserialization flaw in jinjava <2.8.1 allows unauthenticated remote attackers to invoke ObjectMapper.constructFromCanonical() with attacker-controlled canonical type names, instantiating restricted classes (e.g., java.net.URL) and escaping the sandbox without direct method invocation or class literal access. Exploitation enables local file access (file:// URIs) and potential RCE via gadget chaining.
In the same product, most dangerous first.