Eclipse Foundation Eclipse Glassfish
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. This issue affects Eclipse GlassFish: from 8.0.0 to 8.0.1, fixed in 8.0.2; 7.1.0, fixed in 7.1.1; from 7.0.0 to 7.0.25, fixed in 7.0.26. Impact on versions from 5.1.0 to 6.2.5 is unknown.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 7.0.0, < 7.0.26
- >= 7.1.0, < 7.1.1
- >= 8.0.0, < 8.0.2
Fixed in 7.0.26, 7.1.1, 8.0.2
Mitigation
Upgrade Eclipse Glassfish to 7.0.26 or 7.1.1 or 8.0.2 or later.
Timeline
Days relative to CVE publicationFirst public PoC 1.3 days after publication; not in CISA KEV. First PoC: Bhanunamikaze/CVE-2026-2587-Exploit-POC (created 20 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Bhanunamikaze/CVE-2026-2587-Exploit-POC | 20 May 2026 +1.3 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /common/gadgets/gadget.jsf
- Query
gadget=http://host.docker.internal:8000/probe.xml- Key headers
Cookie: JSESSIONID=YOUR_SESSION_ID- Ports
- 4848
- Seen in
- 1 repo: Bhanunamikaze/CVE-2026-2587-Exploit-POC
- Evidence
- Bhanunamikaze/CVE-2026-2587-Exploit-POC/README.md:198 Bhanunamikaze/CVE-2026-2587-Exploit-POC/README.md:843
GET /common/index.jsf
- Ports
- 4848, 8000, 8080
- Seen in
- 1 repo: Bhanunamikaze/CVE-2026-2587-Exploit-POC
- Evidence
- Bhanunamikaze/CVE-2026-2587-Exploit-POC/CVE-2026-2587-Exploit-POC.py:391
GET /login.jsf
- Ports
- 4848, 8000, 8080
- Seen in
- 1 repo: Bhanunamikaze/CVE-2026-2587-Exploit-POC
- Evidence
- Bhanunamikaze/CVE-2026-2587-Exploit-POC/CVE-2026-2587-Exploit-POC.py:371 Bhanunamikaze/CVE-2026-2587-Exploit-POC/CVE-2026-2587-Exploit-POC.py:437 Bhanunamikaze/CVE-2026-2587-Exploit-POC/CVE-2026-2587-Exploit-POC.py:598
GET /ngrok.asc
- Ports
- 4848, 8000, 8080
- Seen in
- 1 repo: Bhanunamikaze/CVE-2026-2587-Exploit-POC
- Evidence
- Bhanunamikaze/CVE-2026-2587-Exploit-POC/README.md:453
GET /probe.xml
- Ports
- 8000
- Seen in
- 1 repo: Bhanunamikaze/CVE-2026-2587-Exploit-POC
- Evidence
- Bhanunamikaze/CVE-2026-2587-Exploit-POC/README.md:188
POST /j_security_check
- Body markers
j_username=j_password=inapplication/x-www-form-urlencoded- Ports
- 4848, 8000, 8080
- Seen in
- 1 repo: Bhanunamikaze/CVE-2026-2587-Exploit-POC
- Evidence
- Bhanunamikaze/CVE-2026-2587-Exploit-POC/CVE-2026-2587-Exploit-POC.py:373 Bhanunamikaze/CVE-2026-2587-Exploit-POC/CVE-2026-2587-Exploit-POC.py:439
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/common/gadgets/gadget\.jsf\?(?:.*&)?gadget=http://host\.docker\.internal:8000/probe\.xml
(?i)^/common/index\.jsf(?:[?#].*)?$
(?i)^/login\.jsf(?:[?#].*)?$
(?i)^/ngrok\.asc(?:[?#].*)?$
(?i)^/probe\.xml(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [4848] (msg:"GG PoC-Monitor CVE-2026-2587 Eclipse Foundation Eclipse Glassfish exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/common/gadgets/gadget.jsf"; http.uri; content:"gadget=http://host.docker.internal:8000/probe.xml"; http.header; content:"Cookie: JSESSIONID=YOUR_SESSION_ID"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-2587; classtype:web-application-attack; sid:9873239; rev:1;)
alert http any any -> $HOME_NET [4848,8000,8080] (msg:"GG PoC-Monitor CVE-2026-2587 Eclipse Foundation Eclipse Glassfish exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/common/index.jsf"; reference:url,poc.griffinguard.io/cve/CVE-2026-2587; classtype:web-application-attack; sid:9492161; rev:1;)
alert http any any -> $HOME_NET [4848,8000,8080] (msg:"GG PoC-Monitor CVE-2026-2587 Eclipse Foundation Eclipse Glassfish exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/login.jsf"; reference:url,poc.griffinguard.io/cve/CVE-2026-2587; classtype:web-application-attack; sid:9478638; rev:1;)
alert http any any -> $HOME_NET [4848,8000,8080] (msg:"GG PoC-Monitor CVE-2026-2587 Eclipse Foundation Eclipse Glassfish exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ngrok.asc"; reference:url,poc.griffinguard.io/cve/CVE-2026-2587; classtype:web-application-attack; sid:9162188; rev:1;)
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-2587 Eclipse Foundation Eclipse Glassfish exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/probe.xml"; reference:url,poc.griffinguard.io/cve/CVE-2026-2587; classtype:web-application-attack; sid:9625375; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Eclipse Foundation Eclipse Glassfish exploit attempt (CVE-2026-2587)
id: gg-pocmon-cve-2026-2587-9873239
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-2587. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-2587
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/common/gadgets/gadget.jsf'
cs-uri-query|contains|all:
- 'gadget=http://host.docker.internal:8000/probe.xml'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.2587
title: Eclipse Foundation Eclipse Glassfish exploit attempt (CVE-2026-2587)
id: gg-pocmon-cve-2026-2587-9492161
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-2587. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-2587
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/common/index.jsf'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.2587
title: Eclipse Foundation Eclipse Glassfish exploit attempt (CVE-2026-2587)
id: gg-pocmon-cve-2026-2587-9478638
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-2587. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-2587
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/login.jsf'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.2587
title: Eclipse Foundation Eclipse Glassfish exploit attempt (CVE-2026-2587)
id: gg-pocmon-cve-2026-2587-9162188
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-2587. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-2587
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/ngrok.asc'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.2587
title: Eclipse Foundation Eclipse Glassfish exploit attempt (CVE-2026-2587)
id: gg-pocmon-cve-2026-2587-9625375
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-2587. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-2587
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/probe.xml'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.2587