Skip to main content

Eclipse GlassFish CVE-2026-2587

| EUVDEUVD-2026-30941 CRITICAL
Improper Neutralization of Special Elements used in an Expression Language Statement (CWE-917)
2026-05-19 eclipse GHSA-29wv-cv7p-xjc2
9.6
CVSS 3.1 · Vendor: eclipse
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify exposed GlassFish gadget endpoint
  2. Delivery
    Craft .xml with #{...} EL payload
  3. Exploit
    Lure operator to render URL
  4. Install
    Server evaluates expression in JVM
  5. C2
    Spawn OS command via Runtime.exec
  6. Execute
    Establish persistence/webshell
  7. Impact
    Pivot to internal network

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Expression language sanitization
Exploitation Conditions

Exploitation requires (1) network reachability to the GlassFish gadget handler endpoint that processes .xml files, (2) the gadget handler component being deployed and enabled in the target instance, and (3) user interaction (UI:R) - typically a victim opening or being redirected to a URL that triggers server-side rendering of an attacker-controlled .xml template with #{...} or ${...} expressions in user-supplied values. Authentication is not required per PR:N, and attack complexity is low (AC:L) against the affected gadget rendering path. Limiting factors: deployments that do not expose or use the gadget handler, that front GlassFish with a WAF blocking EL meta-characters, or that isolate the admin/gadget interface to a management network are not reachable by unauthenticated internet attackers; the UI:R requirement also means purely autonomous mass exploitation is unlikely without a social-engineering or chained CSRF vector.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H describes a network-reachable, low-complexity, unauthenticated bug whose only meaningful prerequisite is user interaction, and whose scope changes with high impact across confidentiality, integrity, and availability - entirely consistent with EL-injection-to-RCE. There is no EPSS score, no CISA KEV listing, and no published proof-of-concept referenced in the provided intelligence, so exploitation pressure is currently unquantified; the only artifact is the Eclipse GitLab issue. The UI:R requirement is the chief mitigator (an admin or victim must trigger the gadget rendering path), which tempers the otherwise worst-case profile, but CWE-917 bugs in Java servers historically yield reliable RCE once a trigger is found, so this should be treated as a high-priority patch candidate rather than dismissed because no exploit is yet public. Data gap to flag: affected version ranges are wildcarded in the CPE and no fix version is published in the available references - the exact patched build must be confirmed with the Eclipse advisory before remediation planning.

Exploit ScenarioDerived

An attacker hosts or emails a link to a malicious .xml gadget URL on a vulnerable GlassFish instance and convinces an authenticated operator or any user with access to the gadget handler to load it (satisfying UI:R); when the server renders the template, the attacker's #{...} expression is evaluated in the JVM and yields arbitrary Java/OS command execution. Because scope is changed (S:C), the attacker pivots from the gadget rendering context to the underlying server identity, then reads configuration, drops a webshell, or moves laterally. No public exploit identified at time of analysis, but the description itself documents the #{7*7} → 49 detection primitive that any tester can adapt into a working payload.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 19, 2026

Remote code execution in Eclipse GlassFish allows remote attackers to evaluate arbitrary Expression Language (EL) expressions through the gadget handler's server-side template rendering of .xml files, leading to full host compromise. The vulnerability (CVSS 9.6, CWE-917) requires user interaction but no authentication, and is demonstrable by submitting payloads like #{7*7} which the server evaluates to 49. No public exploit identified at time of analysis and the issue is not listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis in the provided data; consult the Eclipse Foundation CVE assignment issue at https://gitlab.eclipse.org/security/cve-assignment/-/issues/86 and the GlassFish release notes for the fixed build and upgrade accordingly. Until a fixed version is applied, restrict network access to the GlassFish administration and gadget handler endpoints to trusted management networks via firewall or reverse-proxy ACLs (side effect: remote admin workflows must move to VPN/bastion), disable or remove the gadget handler component if it is not required in your deployment (side effect: any dashboards or portlets relying on .xml gadget rendering will break), and add a WAF rule blocking request parameters containing #{ or ${ sequences destined for gadget handler URIs (side effect: legitimate content containing those tokens will be rejected, so tune to the gadget paths only). Audit existing .xml gadget definitions for tampering and rotate any credentials stored in the server's domain configuration if exposure is suspected.

Affected VersionsENISA

Eclipse GlassFish 8.0.0
Eclipse GlassFish 0 <7.1.0

Affected Packages

maven org.glassfish.jsftemplating:jsftemplating fix: 4.2.0
maven org.glassfish.main.admingui:admingui fix: 8.0.2
euvd eclipse_glassfish fix: 7.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Eclipse GlassFish is the open-source Jakarta EE (formerly Java EE) reference application server maintained under the Eclipse Foundation. The flaw maps to CWE-917 (Improper Neutralization of Special Elements used in an Expression Language Statement), a class of injection where user-controlled data is concatenated into an EL context - typically the Unified EL used by JSP/JSF/Facelets - and then evaluated by the EL processor. In this case, the gadget handler parses .xml files and substitutes user-supplied values into a template that subsequently invokes EL evaluation without sanitizing or escaping #{...} or ${...} sequences, so any expression the attacker controls can reach Java method-binding resolvers and execute arbitrary logic in the server JVM. The affected CPE is cpe:2.3:a:eclipse_foundation:eclipse_glassfish across all versions per the published data.

Know when Eclipse Glassfish gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (eclipse) PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Primary rating from Vendor (eclipse) · only source for this CVE.

CVSS VectorVendor: eclipse

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
May 19, 2026 - 15:02 EUVD

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 22 maven packages depend on org.glassfish.jsftemplating:jsftemplating (20 direct, 2 indirect)

Ecosystem-wide dependent count for version 4.2.0.

Executive ViewAI

Why It Matters

Eclipse GlassFish contains a critical remote code execution vulnerability (CVSS 9.6) allowing unauthenticated attackers to execute arbitrary code and fully compromise affected servers through expression language injection in XML processing, with minimal user interaction required. No vendor patch is currently available, creating immediate operational risk for all GlassFish deployments and requiring urgent mitigation.

Business Impact: Severe
Compensating Controls

Network segmentation limiting GlassFish endpoint exposure; Web Application Firewall (WAF) rules targeting expression language injection patterns; disable or restrict XML file processing and upload capabilities; implement enhanced logging and real-time alerting for XML parsing errors and unusual expression evaluations; disable unnecessary GlassFish services and gadget handlers; enforce strict input validation on all user-supplied XML content; consider air-gapping critical GlassFish systems until patched.

Threat Intelligence Overview

EPSS Score
0.2%
Top 64% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy