CVE-2026-2587
Glassfish Remote Code Execution Vulnerability
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.
INFO
Published Date :
May 19, 2026, 3:16 p.m.
Last Modified :
July 24, 2026, 12:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | e51fbebd-6053-4e49-959f-1b94eeb69a2c | ||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Sanitize all user-supplied input to the XML processor.
- Disable server-side EL evaluation if not strictly required.
- Update the Glassfish gadget handler to the latest version.
- Implement input validation to prevent malicious expressions.
Public PoC/Exploit Available at Github
CVE-2026-2587 has a 4 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-2587.
| URL | Resource |
|---|---|
| https://gitlab.eclipse.org/security/cve-assignment/-/issues/86 | Exploit Issue Tracking Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-2587 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-2587
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
May 2026 trending CVE scanners - PAN-OS, WordPress, BeyondTrust, GHE, ingress-nginx
Python
CVE-2026-2587 PoC validator for Eclipse GlassFish EL Injection RCE in the admin console gadget.jsf handler. Safe authenticated vulnerability scanner for authorized testing.
cve exploit glassfish java pentest poc rce security-research vulnerability cve-2026-2587 cwe-917 eclipse-glassfish el-injection expression-language-injection
Python
A self-hostable, keyboard-driven security news terminal. RSS + Reddit + Bluesky + Mastodon + GitHub Advisories, scored against MITRE ATT&CK and CISA KEV.
PowerShell Shell Go HTML Python
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-2587 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-2587 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 24, 2026
Action Type Old Value New Value Added Translation Title: Eclipse Glassfish de Eclipse Foundation, Description: Una crítica vulnerabilidad de ejecución remota de código (RCE) fue identificada en el mecanismo de renderizado de plantillas del lado del servidor utilizado por el gestor de gadgets de Glassfish. La aplicación procesa archivos .xml y evalúa valores proporcionados por el usuario dentro de un contexto donde las 'expresiones' de Expression Language (EL) son procesadas sin una sanitización o escape adecuados. Al inyectar expresiones como #{77}, el servidor devuelve 49, confirmando la evaluación de EL del lado del servidor. Este problema permite a un atacante remoto comprometer completamente el host subyacente, habilitando capacidades como leer/modificar datos, ejecutar comandos arbitrarios, persistencia y movimiento lateral. -
CVE Modified by [email protected]
Jun. 29, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://github.com/eclipse-ee4j/glassfish', 'vendor': 'Eclipse Foundation', 'product': 'Eclipse Glassfish', 'versions': [{'status': 'unaffected', 'version': '8.0.2', 'versionType': 'semver', 'lessThanOrEqual': '*'}], 'defaultStatus': 'affected'}] [{'repo': 'https://github.com/eclipse-ee4j/glassfish', 'vendor': 'Eclipse Foundation', 'product': 'Eclipse Glassfish', 'versions': [{'status': 'unknown', 'version': '5.1.0', 'versionType': 'semver', 'lessThanOrEqual': '6.2.5'}, {'status': 'affected', 'version': '7.0.0', 'lessThan': '7.0.26', 'versionType': 'semver'}, {'status': 'affected', 'version': '7.1.0', 'lessThan': '7.1.1', 'versionType': 'semver'}, {'status': 'affected', 'version': '8.0.0', 'lessThan': '8.0.2', 'versionType': 'semver'}], 'defaultStatus': 'unaffected'}] Changed 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. 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. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://github.com/eclipse-ee4j/glassfish', 'vendor': 'Eclipse Foundation', 'product': 'Eclipse Glassfish', 'versions': [{'status': 'unaffected', 'version': '8.0.2', 'versionType': 'semver', 'lessThanOrEqual': '*'}], 'defaultStatus': 'affected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-2587', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-05-19T00:00:00+00:00'} -
Initial Analysis by [email protected]
May. 21, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:eclipse:glassfish:*:*:*:*:*:*:*:* versions up to (excluding) 8.0.2 Added Reference Type Eclipse Foundation: https://gitlab.eclipse.org/security/cve-assignment/-/issues/86 Types: Exploit, Issue Tracking, Third Party Advisory -
New CVE Received by [email protected]
May. 19, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-917 Added Reference https://gitlab.eclipse.org/security/cve-assignment/-/issues/86