{"id":"CVE-2026-2587","details":"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.","aliases":["GHSA-29wv-cv7p-xjc2"],"modified":"2026-07-08T07:32:26.646032810Z","published":"2026-05-19T14:03:18.650Z","database_specific":{"cna_assigner":"eclipse","cwe_ids":["CWE-917"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2587.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2587.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2587"},{"type":"REPORT","url":"https://gitlab.eclipse.org/security/cve-assignment/-/issues/86"},{"type":"PACKAGE","url":"https://github.com/eclipse-ee4j/glassfish"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eclipse-ee4j/glassfish","events":[{"introduced":"9052d5b25b70c6f1d3f871f67cbcfd6d2973b520"},{"fixed":"215b00392179abfef69725ff07455096f2e7fa19"},{"introduced":"2333b45243ef722b235649526fc99200be8c653d"},{"fixed":"de11e07e75c91924b9392ac48280eb145d394e38"},{"introduced":"ca9f02fbdfb5d712d756a320bc8df3847687be96"},{"fixed":"5225f2e584d7eff969cd39ca26aa67e5dd828736"}],"database_specific":{"extracted_events":[{"introduced":"7.0.0"},{"fixed":"7.0.26"},{"introduced":"7.1.0"},{"fixed":"7.1.1"},{"introduced":"8.0.0"},{"fixed":"8.0.2"}],"source":"AFFECTED_FIELD"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2587.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}