The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-2587

CVE-2026-2587: Eclipse Glassfish RCE Vulnerability

CVE-2026-2587 is a critical remote code execution flaw in Eclipse Glassfish's template rendering mechanism. Attackers can exploit Expression Language injection to fully compromise systems. This article covers technical details, impact, and mitigation strategies.

Published: May 21, 2026

CVE-2026-2587 Overview

CVE-2026-2587 is a Remote Code Execution (RCE) vulnerability in the server-side template rendering mechanism used by the Eclipse Glassfish gadget handler. The application processes .xml files and evaluates user-supplied values inside a context where Expression Language (EL) expressions are parsed without sanitization or escaping. Researchers confirmed server-side EL evaluation by injecting #{7*7} and observing the server respond with 49. Successful exploitation enables an attacker to read or modify data, run arbitrary commands, establish persistence, and move laterally across the host. The flaw is tracked under CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement.

Critical Impact

Remote attackers can achieve full host compromise of Eclipse Glassfish servers through unauthenticated EL injection, leading to arbitrary command execution and lateral movement.

Affected Products

  • Eclipse Glassfish (gadget handler component)
  • Application deployments that render .xml gadget templates
  • Environments exposing the Glassfish gadget endpoint to untrusted users

Discovery Timeline

  • 2026-05-19 - CVE-2026-2587 published to NVD
  • 2026-05-21 - Last updated in NVD database

Technical Details for CVE-2026-2587

Vulnerability Analysis

The Glassfish gadget handler parses .xml gadget definition files and renders their content through a server-side template engine. User-controlled values flow into a rendering context where Jakarta Expression Language (EL) syntax is interpreted as executable expressions. Because the handler does not escape or neutralize EL delimiters, an attacker can embed expressions that the server evaluates at runtime.

The proof-of-concept payload #{7*7} returns 49, demonstrating that arithmetic expressions reach the EL evaluator. Attackers can extend this primitive to invoke arbitrary Java methods, instantiate classes, and call Runtime.exec to execute operating system commands. Exploitation requires user interaction, but no authentication, and the impact crosses a trust boundary as defined by the scope change in the CVSS vector.

Root Cause

The root cause is improper neutralization of special elements used in an Expression Language statement [CWE-917]. The gadget handler concatenates untrusted input into a template string that is later passed to an EL processor instead of treating the input as a literal data value. Without contextual escaping or a strict allowlist, EL delimiters such as #{...} and ${...} retain their special meaning and trigger expression evaluation.

Attack Vector

The attack is delivered over the network. An attacker crafts a malicious .xml gadget or supplies input fields rendered through the gadget handler. When a victim or a backend process triggers rendering, the embedded EL expression executes inside the Glassfish JVM context. From there, the attacker can read files, modify configuration, install backdoors, and pivot to other systems reachable from the server.

No verified public exploit code is available at the time of writing. Technical detail is published in the Eclipse CVE Assignment Issue.

Detection Methods for CVE-2026-2587

Indicators of Compromise

  • HTTP requests to gadget rendering endpoints containing #{ or ${ sequences in parameters, headers, or uploaded .xml content
  • Unexpected child processes spawned by the Glassfish Java process, such as sh, bash, cmd.exe, powershell.exe, or curl
  • Outbound connections from the Glassfish host to unfamiliar IP addresses shortly after gadget-related requests
  • New or modified files under Glassfish deployment directories, including unexpected .xml, .jsp, or .war artifacts

Detection Strategies

  • Inspect web access logs for EL syntax patterns (#{, ${, T(, Runtime, ProcessBuilder) targeting gadget URLs
  • Apply web application firewall rules that block EL delimiter sequences in request bodies and query parameters destined for Glassfish
  • Correlate JVM process lineage so child processes of the Glassfish server trigger high-severity alerts in the EDR pipeline

Monitoring Recommendations

  • Enable verbose logging on the Glassfish gadget handler and forward logs to a central SIEM for retention and search
  • Baseline normal outbound connections from Glassfish hosts and alert on deviations such as connections to non-corporate destinations
  • Monitor filesystem changes in webapp and config directories using file integrity monitoring

How to Mitigate CVE-2026-2587

Immediate Actions Required

  • Restrict network access to the Glassfish gadget handler endpoints using firewall rules or reverse proxy allowlists
  • Disable the gadget handler in deployments that do not require it until a vendor patch is applied
  • Rotate credentials, API keys, and secrets stored on or accessible from affected Glassfish hosts as a precaution
  • Review web server and application logs for prior exploitation attempts containing EL syntax

Patch Information

No fixed version is listed in the NVD record at the time of publication. Track the Eclipse CVE Assignment Issue for the official advisory and patched release. Apply the vendor update as soon as it becomes available and validate that the gadget handler rejects EL delimiters in user-supplied content.

Workarounds

  • Place Glassfish behind a reverse proxy or WAF that strips or blocks #{ and ${ sequences in requests to gadget endpoints
  • Run the Glassfish process under a low-privilege service account with no shell access and restricted filesystem permissions
  • Apply egress filtering so the Glassfish host cannot initiate arbitrary outbound connections to the internet
bash
# Example reverse proxy filter to block EL delimiters on gadget endpoints
location /gadgets/ {
    if ($request_uri ~* "(\#\{|\$\{)") { return 403; }
    if ($request_body ~* "(\#\{|\$\{)") { return 403; }
    proxy_pass http://glassfish_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechEclipse Glassfish

  • SeverityCRITICAL

  • CVSS Score9.6

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-917
  • Technical References
  • Eclipse CVE Assignment Issue
  • Related CVEs
  • CVE-2026-2586: Eclipse Glassfish RCE Vulnerability

  • CVE-2024-9342: Eclipse Glassfish Auth Bypass Vulnerability

  • CVE-2024-9408: Eclipse Glassfish SSRF Vulnerability

  • CVE-2024-9329: Eclipse Glassfish XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English