Loading...
Skip to main content

CVE-2026-2587 — Vulnerability in...

CRITICAL

GlassFish's gadget handler is vulnerable to RCE

Published May 19, 2026Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published May 19, 2026 (146 days ago).
  • Last revised September 10, 2026 — 114 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.glassfish.jsftemplating:jsftemplating to 4.2.0 or later
<!-- Update pom.xml dependency version to 4.2.0 for org.glassfish.jsftemplating:jsftemplating -->
Maven
Update org.glassfish.main.admingui:admingui to 8.0.2 or later
<!-- Update pom.xml dependency version to 8.0.2 for org.glassfish.main.admingui:admingui -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (2).

PackageEcosystemAffectedFixed In
org.glassfish.jsftemplating:jsftemplating
maven
1.2.0-1, 1.2.1, 1.2.2, 1.2.3 (+9 more)4.2.0
org.glassfish.main.admingui:admingui
maven
3.1.2, 3.1.2.2, 4.0, 4.0-b33 (+81 more)8.0.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-2587?
GlassFish's gadget handler is vulnerable to RCE This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
How do I check if my project is affected by CVE-2026-2587?
CVE-2026-2587 affects org.glassfish.jsftemplating:jsftemplating and org.glassfish.main.admingui:admingui. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-2587 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-29wv-cv7p-xjc2

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies