PoC Monitor
← All CVEs
CVE-2025-59340published 17 Sep 2025 20:01 UTCData: JSON · API

HubSpot jinjava

jinjava Sandbox Bypass via JavaType-Based Deserialization

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS10.0critical · scored by NVD · CWE-1336
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

HubSpot jinjava
  • < 2.8.1

Fixed in 2.8.1

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published17 Sep 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.