CVE-2026-25526
Hubspot Jinjava ≤ 2.7.6
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSummary
CVE-2026-25526 is a critical-severity Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336) vulnerability in Hubspot Jinjava. Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Template Injection (T1221); ranked in the top 44% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-25526 is a critical vulnerability in JinJava, a Java-based template engine that adapts Django template syntax for rendering Jinja templates. Prior to versions 2.7.6 and 2.8.3, the ForTag implementation allows attackers to bypass built-in sandbox restrictions, enabling arbitrary Java class instantiation and file access. This flaw, classified under CWE-1336 (Improvable Restriction of Excessive Authentication Attempts, though contextually related to sandbox escape), carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating severe impact potential.
The vulnerability can be exploited remotely by unauthenticated attackers with no user interaction required, due to its network-accessible and low-complexity nature. Successful exploitation grants arbitrary Java code execution within the application's context, allowing attackers to instantiate any Java class and perform unrestricted file operations, effectively defeating JinJava's sandbox protections. This could lead to full system compromise, data exfiltration, or persistence on affected servers processing untrusted templates.
Mitigation is available through upgrading to JinJava versions 2.7.6 or 2.8.3, where the issue has been patched via specific commits (3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998 and c7328dce6030ac718f88974196035edafef24441). The HubSpot security advisory (GHSA-gjx9-j8f8-7j74) and release notes detail these fixes, recommending immediate updates for all deployments using vulnerable versions.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-5336
Vulnerability Data
JinJava is a Java-based template engine based on django template syntax, adapted to render jinja templates. Prior to versions 2.7.6 and 2.8.3, JinJava is vulnerable to arbitrary Java execution via bypass through ForTag. This allows arbitrary Java class instantiation and…
more
file access bypassing built-in sandbox restrictions. This issue has been patched in versions 2.7.6 and 2.8.3.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V1.3.2V1.3.7V1.3.10
Mitigating Controls (NIST 800-53 r5) AI
Developer testing and static analysis can discover missing neutralization of template directives.
Input validation rejects or sanitizes untrusted data before it reaches the template engine, stopping injection of special syntax.
Security engineering principles require use of safe templating APIs and proper escaping of external input.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Secure SDLC practices directly require proper input neutralization in template engines to prevent injection.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Security testing can detect template-injection flaws but does not itself implement neutralization controls.
Secure development life cycle mandates input validation and sanitization that directly prevents template-injection weaknesses.
Application security requirements explicitly call for neutralizing special elements in template engines.
Secure architecture principles reduce the likelihood of unsafe template processing but do not prescribe specific neutralization techniques.
Secure coding standards require proper escaping or sandboxing of template directives, directly mitigating CWE-1336.