CVE-2026-2587
Published:May 19, 2026
Updated:June 11, 2026
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.
Affected Packages
https://github.com/eclipse-ee4j/glassfish-jsftemplating.git (GITHUB):
Affected version(s) >=initial-contribution <4.2.0Fix Suggestion:
Update to version 4.2.0org.glassfish.jsftemplating:jsftemplating (JAVA):
Affected version(s) >=1.2.0-1 <4.2.0Fix Suggestion:
Update to version 4.2.0org.glassfish.jsftemplating:jsftemplating (JAVA):
Affected version(s) >=1.2.0-1 <4.2.0Fix Suggestion:
Update to version 4.2.0Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
EPSS
Base Score:
0.15