{"answers":{"affected":"4 open source packages ship an affected version, including org.glassfish.jsftemplating:jsftemplating and org.glassfish.main.admingui:console-common. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-2586 in the wild and no public exploit code.","fix":"Upgrade org.glassfish.jsftemplating:jsftemplating to 4.2.0 or later.","what":"CVE-2026-2586 is a critical command injection vulnerability in Eclipse Glassfish, published on 19 May 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-2586 and fix it if it is affected.\n\nWhat it is: CVE-2026-2586 is a critical command injection vulnerability in Eclipse Glassfish, published on 19 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-2586 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:console-common (Maven): affected all versions; fixed in 8.0.2\n- org.glassfish.main.admingui:console-common (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-2586/ (Markdown: https://insights.sbomify.com/CVE-2026-2586/index.md)","id":"CVE-2026-2586","markdown":"https://insights.sbomify.com/CVE-2026-2586/index.md","name":"CVE-2026-2586","record":{"aliases":["GHSA-96v6-hq43-x9h4"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java application server","requires_auth":"high_privilege","summary":"Authenticated attackers can execute arbitrary OS commands via crafted requests in the GlassFish Administration Console.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"glassfish","vendor":"eclipse"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"}],"description":"An authenticated Remote Code Execution (RCE) vulnerability was identified in GlassFish's Administration Console. A user with access to the panel can send crafted requests that allow the execution of arbitrary operating system commands with the privileges of the application service user. 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-06-01","github_poc":2,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-01T20:36:17Z","kind":"github_poc","ref":"https://github.com/DeepSecurityResearch/CVE-2026-2586","stars":2,"title":null},{"date":"2026-07-29T16:31:17Z","kind":"github_poc","ref":"https://github.com/GabrielHA12/Glassfish-research","stars":1,"title":"CVE-2026-2586 — Eclipse GlassFish EL injection to RCE"}],"tier":"poc_unverified"},"has_fix":true,"headline":"GlassFish's Administration Console is Vulnerable to RCE","id":"CVE-2026-2586","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"GlassFish's gadget handler is vulnerable to RCE","id":"CVE-2026-2587"},"packages":[{"ecosystem":"Maven","fixed":["4.2.0"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.jsftemplating:jsftemplating","purl":null,"source":"GHSA-96v6-hq43-x9h4"},{"ecosystem":"Maven","fixed":["4.2.0"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.jsftemplating:jsftemplating","purl":"pkg:maven/org.glassfish.jsftemplating/jsftemplating","source":"GHSA-96v6-hq43-x9h4"},{"ecosystem":"Maven","fixed":["8.0.2"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.main.admingui:console-common","purl":null,"source":"GHSA-96v6-hq43-x9h4"},{"ecosystem":"Maven","fixed":["8.0.2"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.main.admingui:console-common","purl":"pkg:maven/org.glassfish.main.admingui/console-common","source":"GHSA-96v6-hq43-x9h4"}],"prev":{"headline":"Cross-site scripting in Brizy – Page Builder","id":"CVE-2026-2585"},"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.6,"headline":"GlassFish's gadget handler is vulnerable to RCE","id":"CVE-2026-2587","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":"Authenticated attackers can execute arbitrary OS commands via crafted requests in the GlassFish Administration Console.","url":"https://insights.sbomify.com/CVE-2026-2586/"}