SecurityContext

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

IdName
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine

Public exploits

UrlSourceAdded date
https://github.com/av4nth1ka/jinjava-cve-2026-25526-pocpoc-in-github2026-02-10

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/HubSpot/jinjava/commit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998Patch
https://github.com/HubSpot/jinjava/commit/c7328dce6030ac718f88974196035edafef24441Patch
https://github.com/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74Patch, Vendor Advisory
https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.7.6Product, Release Notes
https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.8.3Product, Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
hubspot:jinjava>= 2.8.0, < 2.8.3; < 2.7.6nonvd/v1/products/hubspot/jinjava

Projects

RepositoryLink kindsIndexedUrl
hubspot/jinjavacommit, package, releases, security_advisoryyes/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