# CVE-2026-2587: GlassFish's gadget handler is vulnerable to RCE

- Severity: Critical 9.6 (CVSS:3.1, scored by eclipse) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-19T14:03:18.650Z
- Modified: 2026-09-10T03:50:45.327Z
- Also known as: GHSA-29wv-cv7p-xjc2
- Weaknesses: CWE-917
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: eclipse

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

(As written by CVE List.)

## Affected

- Eclipse Foundation Eclipse Glassfish: from 5.1.0 up to 6.2.5; from 7.0.0 before 7.0.26; from 7.1.0 before 7.1.1; from 8.0.0 before 8.0.2
- org.glassfish.main.admingui:admingui (Maven): before 8.0.2
- org.glassfish.jsftemplating:jsftemplating (Maven): before 4.2.0
- eclipse glassfish: before 8.0.2

## Every score

- eclipse: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://gitlab.eclipse.org/security/cve-assignment/-/issues/86> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-2587> (advisory)
- <https://github.com/eclipse-ee4j/glassfish> (package)
- <https://github.com/eclipse-ee4j/glassfish/releases/tag/8.0.2> (web)

## Sources

- CVE List: [CVE-2026-2587](https://www.cve.org/CVERecord?id=CVE-2026-2587), CVE Terms of Use, modified 2026-06-29
- GitHub Advisory Database: [GHSA-29wv-cv7p-xjc2](https://github.com/advisories/GHSA-29wv-cv7p-xjc2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-2587](https://nvd.nist.gov/vuln/detail/CVE-2026-2587), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-2587 · Whole record: https://cve.day/CVE-2026-2587.json · Rebuilt by cve.day 2026-11-25T22:59:21.982Z
