CVE-2026-2587 — Vulnerability in jsftemplating — CVE Details
GlassFish's gadget handler is vulnerable to RCE
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.67%). Schedule for your next planned update.
Does your project use an affected org.glassfish.jsftemplating:jsftemplating version?
Paste your pom.xml to check it for CVE-2026-2587 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A critical Remote Code Execution (RCE) vulnerability was identified in the server-side template rendering mechanism used by the Glassfish gadget handler. The application processes .xml files and evaluates user-supplied values within a context where Expression Language (EL) “expressions” are processed without proper sanitization or escaping. By injecting expressions such as #{7*7}, the server returns 49, confirming server-side EL evaluation. This issue allows a remote attacker to fully compromise the underlying host, enabling capabilities as reading/modifying data, executing arbitrary commands, persistence, and lateral movement.
Advisory Timeline
- First published May 19, 2026 (191 days ago).
- Last revised September 10, 2026 — 114 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.2.0 for org.glassfish.jsftemplating:jsftemplating -->
<!-- Update pom.xml dependency version to 8.0.2 for org.glassfish.main.admingui:admingui -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| org.glassfish.jsftemplating:jsftemplating Maven · Affected: 1.2.0-1, 1.2.1, 1.2.2, 1.2.3 (+9 more) | 4.2.0 |
| org.glassfish.main.admingui:admingui Maven · Affected: 3.1.2, 3.1.2.2, 4.0, 4.0-b33 (+81 more) | 8.0.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-917
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-2587?
- GlassFish's gadget handler is vulnerable to RCE. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
- How do I check if my project is affected by CVE-2026-2587?
- CVE-2026-2587 affects org.glassfish.jsftemplating:jsftemplating and org.glassfish.main.admingui:admingui. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-2587 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 46.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-2586CRITICAL
GlassFish's Administration Console is Vulnerable to RCE
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host