CVE-2026-25526
JinJava Bypass through ForTag leads to Arbitrary Java Execution
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.hubspot.jinjava:jinjava | 2.8.3, 2.7.6 |
| chainguard | kayenta-2025.0, kayenta-2025.1, kayenta-2025.2 and 4 more | 2025.0.8-r6 and 5 more |
| minimos | airbyte-server | 2.2.0-r0 |
Show all 9 entries from 3 sources
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.hubspot.jinjava:jinjava | 2.8.3, 2.7.6 |
| chainguard | kayenta-2025.0 | 2025.0.8-r6 |
| chainguard | kayenta-2025.1 | 2025.1.6-r4 |
| chainguard | kayenta-2025.2 | 2025.2.3-r3 |
| chainguard | kayenta-fips-2025.0 | 2025.0.8-r7 |
| chainguard | kayenta-fips-2025.1 | 2025.1.6-r3 |
| chainguard | kayenta-fips-2025.2 | 2025.2.3-r3 |
| chainguard | wso2is | 7.3.0-r0 |
| minimos | airbyte-server | 2.2.0-r0 |
References
- https://github.com/HubSpot/jinjava
- https://github.com/HubSpot/jinjava/commit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998
- https://github.com/HubSpot/jinjava/commit/c7328dce6030ac718f88974196035edafef24441
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.7.6
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.8.3
- https://github.com/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74
- https://nvd.nist.gov/vuln/detail/CVE-2026-25526