Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.glassfish.jsftemplating/jsftemplating
  4. ›
  5. CVE-2026-2587

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

May 19, 2026 (updated June 4, 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.

References

  • github.com/advisories/GHSA-29wv-cv7p-xjc2
  • github.com/eclipse-ee4j/glassfish/releases/tag/8.0.2
  • gitlab.eclipse.org/security/cve-assignment/-/issues/86
  • nvd.nist.gov/vuln/detail/CVE-2026-2587

Code Behaviors & Features

Detect and mitigate CVE-2026-2587 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.2.0

Fixed versions

  • 4.2.0

Solution

Upgrade to version 4.2.0 or above.

Impact 9.6 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

Source file

maven/org.glassfish.jsftemplating/jsftemplating/CVE-2026-2587.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:41 +0000.