CVE-2026-2587
Description
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. This issue affects Eclipse GlassFish: from 8.0.0 to 8.0.1, fixed in 8.0.2; 7.1.0, fixed in 7.1.1; from 7.0.0 to 7.0.25, fixed in 7.0.26. Impact on versions from 5.1.0 to 6.2.5 is unknown.
Weakness
- CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-05-19 |
Timeline
- 2026-05-19Published by the CNA14:03 UTC
- 2026-05-19GitHub advisory published (GHSA-29wv-cv7p-xjc2)same day
- 2026-05-19CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-29wv-cv7p-xjc2, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.glassfish.jsftemplating:jsftemplating | before 4.2.0 | 4.2.0 |
| Maven org.glassfish.main.admingui:admingui | before 8.0.2 | 8.0.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| eclipse glassfish | before 8.0.2fixed in 8.0.2 | 8.0.2 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-2587'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-2587'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-2587'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-2587'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).