<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T20:44:44.236128+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-25526</id>
    <title>CVE-2026-25526 — JinJava Bypass through ForTag leads to Arbitrary Java Execution</title>
    <updated>2026-10-01T20:44:44.249623+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> HubSpot jinjava</p>
<p>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 file access bypassing built-in sandbox restrictions. This issue has been patched in versions 2.7.6 and 2.8.3.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-25526"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-gjx9-j8f8-7j74</id>
    <title>GHSA-gjx9-j8f8-7j74 — JinJava Bypass through ForTag leads to Arbitrary Java Execution</title>
    <updated>2026-10-01T20:44:44.249738+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Maven: com.hubspot.jinjava:jinjava</p>
<p>## Impact</p>
<p>**Vulnerability Type**: Sandbox Bypass / Remote Code Execution</p>
<p>**Affected Component**: Jinjava</p>
<p>**Affected Users**:
- Organizations using HubSpot's Jinjava template rendering engine for user-provided template content
- Any system that renders untrusted Jinja templates using HubSpot's Jinjava implementation
- Users with the ability to create or edit custom code templates</p>
<p>**Severity**: **Critical** - allows arbitrary Java class instantiation and file access bypassing built-in sandbox restrictions</p>
<p>**Root Cause**: Multiple security bypass vulnerabilities in Jinjava's sandbox mechanism:</p>
<p>1. **ForTag Property Access Bypass**: The `ForTag` class does not enforce `JinjavaBeanELResolver` restrictions when iterating over object properties using `Introspector.getBeanInfo()` and invoking getter methods via `PropertyDescriptor.getReadMethod()`</p>
<p>2. **Restricted Class Instantiation**: The sandbox's type allowlist can be bypassed by using ObjectMapper to instantiate classes through JSON deserialization, including creating new `JinjavaELContext` and `JinjavaConfig` instances</p>
<p>**Attack Vector**: An attacker with the ability to create or edit Jinja templates can:
- Access arbitrary getter methods on objects in the template context
- Instantiate `ObjectMapper` to enable default typing
- Create arbitrary Java classes by bypassing type allowlists
- Read files from the server filesystem (demonstrated with `/etc/passwd`)
- Potentially execute arbitrary code</p>
<p>## Patches</p>
<p>**Status**: Pa…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-gjx9-j8f8-7j74"/>
  </entry>
</feed>
