CVE-2026-25526: JinJava - Template Injection
- Cve: CVE-2026-25526
- Name: JinJava - Template Injection
- 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.
- Impact: Attackers can execute arbitrary Java code and access files, potentially leading to full system compromise.
- Remediation: Update to versions 2.7.6 and 2.8.3 or later.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution, file_system_read
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00974
- Epss percentile: 0.62774
- Assignee: [email protected]
- Published at: 2026-02-04T22:15:59Z
- Age in days: 293
- Modified at: 2026-06-17T10:24:47Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25526
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/av4nth1ka/jinjava-cve-2026-25526-poc | poc-in-github | 2026-02-10 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| hubspot:jinjava | >= 2.8.0, < 2.8.3; < 2.7.6 | no | nvd | /v1/products/hubspot/jinjava |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| hubspot/jinjava | commit, package, releases, security_advisory | yes | /v1/repositories/hubspot/jinjava |
Index
- Repositories: 6
- Repositories high signal: 4
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-02-10
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts