{"answers":{"affected":"4 open source packages ship an affected version, including org.glassfish.jsftemplating:jsftemplating and org.glassfish.main.admingui:admingui. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-2587 in the wild and no public exploit code.","fix":"Upgrade org.glassfish.jsftemplating:jsftemplating to 4.2.0 or later.","what":"CVE-2026-2587 is a critical code injection vulnerability in Eclipse Glassfish, published on 19 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-2587 and fix it if it is affected.\n\nWhat it is: CVE-2026-2587 is a critical code injection vulnerability in Eclipse Glassfish, published on 19 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-2587 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.glassfish.jsftemplating:jsftemplating (Maven): affected all versions; fixed in 4.2.0\n- org.glassfish.jsftemplating:jsftemplating (Maven): affected all versions; fixed in 4.2.0\n- org.glassfish.main.admingui:admingui (Maven): affected all versions; fixed in 8.0.2\n- org.glassfish.main.admingui:admingui (Maven): affected all versions; fixed in 8.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-2587/ (Markdown: https://insights.sbomify.com/CVE-2026-2587/index.md)","id":"CVE-2026-2587","markdown":"https://insights.sbomify.com/CVE-2026-2587/index.md","name":"CVE-2026-2587","record":{"aliases":["GHSA-29wv-cv7p-xjc2"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Java application server","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via unsanitized Expression Language injection in GlassFish XML processing, compromising the host.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"glassfish","vendor":"eclipse"}],"cvss":{"score":9.6,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-05-20","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-20T21:31:14Z","kind":"github_poc","ref":"https://github.com/Bhanunamikaze/CVE-2026-2587-Exploit-POC","stars":1,"title":"CVE-2026-2587 PoC validator for Eclipse GlassFish EL Injection RCE in the admin console gadget.jsf handler. Safe authenticated vulnerability scanner for authorized testing."}],"tier":"poc_unverified"},"has_fix":true,"headline":"GlassFish's gadget handler is vulnerable to RCE","id":"CVE-2026-2587","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Crypt::NaCl::Sodium versions through 2.001 for Perl has an integer overflow flaw on 32-bit systems","id":"CVE-2026-2588"},"packages":[{"ecosystem":"Maven","fixed":["4.2.0"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.jsftemplating:jsftemplating","purl":null,"source":"GHSA-29wv-cv7p-xjc2"},{"ecosystem":"Maven","fixed":["4.2.0"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.jsftemplating:jsftemplating","purl":"pkg:maven/org.glassfish.jsftemplating/jsftemplating","source":"GHSA-29wv-cv7p-xjc2"},{"ecosystem":"Maven","fixed":["8.0.2"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.main.admingui:admingui","purl":null,"source":"GHSA-29wv-cv7p-xjc2"},{"ecosystem":"Maven","fixed":["8.0.2"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.main.admingui:admingui","purl":"pkg:maven/org.glassfish.main.admingui/admingui","source":"GHSA-29wv-cv7p-xjc2"}],"prev":{"headline":"GlassFish's Administration Console is Vulnerable to RCE","id":"CVE-2026-2586"},"products":["Eclipse Glassfish"],"published":"2026-05-19","related":[{"cvss_score":9.6,"headline":"Server-side request forgery in Eclipse GlassFish","id":"CVE-2026-12605","kev_date_added":null,"published":"2026-08-06"},{"cvss_score":9.1,"headline":"GlassFish's Administration Console is Vulnerable to RCE","id":"CVE-2026-2586","kev_date_added":null,"published":"2026-05-19"},{"cvss_score":8.9,"headline":"Eclipse GlassFish is vulnerable to Server Side Request Forgery attacks through specific endpoints","id":"CVE-2024-9408","kev_date_added":null,"published":"2025-07-16"},{"cvss_score":6.9,"headline":"Glassfish redirect to untrusted site","id":"CVE-2024-9329","kev_date_added":null,"published":"2024-09-30"},{"cvss_score":6.8,"headline":"Glassfish remote code execution","id":"CVE-2023-5763","kev_date_added":null,"published":"2023-11-03"},{"cvss_score":6.5,"headline":"Path Traversal In Eclipse GlassFish","id":"CVE-2022-2712","kev_date_added":null,"published":"2023-01-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-29","vendors":["Eclipse Foundation"]},"summary":"Remote attackers can execute arbitrary code via unsanitized Expression Language injection in GlassFish XML processing, compromising the host.","url":"https://insights.sbomify.com/CVE-2026-2587/"}