{
  "id": "CVE-2026-2587",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-2587",
  "published_at": "2026-05-19T14:03:18.65Z",
  "vendor": "Eclipse Foundation",
  "product": "Eclipse Glassfish",
  "cvss": {
    "score": 9.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-20T21:31:14Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.3,
    "repo": "Bhanunamikaze/CVE-2026-2587-Exploit-POC",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-917",
  "cpes": [
    "cpe:2.3:a:eclipse:glassfish:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.6
  },
  "repos": [
    {
      "repo": "Bhanunamikaze/CVE-2026-2587-Exploit-POC",
      "url": "https://github.com/Bhanunamikaze/CVE-2026-2587-Exploit-POC",
      "created_at": "2026-05-20T21:31:14Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-02-08T08:14:52Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Eclipse Foundation",
        "product": "Eclipse Glassfish",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.0.26",
          "\u003e= 7.1.0, \u003c 7.1.1",
          "\u003e= 8.0.0, \u003c 8.0.2"
        ],
        "fixed_in": [
          "7.0.26",
          "7.1.1",
          "8.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Eclipse Glassfish to 7.0.26 or 7.1.1 or 8.0.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/common/gadgets/gadget.jsf",
      "query_markers": [
        "gadget=http://host.docker.internal:8000/probe.xml"
      ],
      "headers": [
        {
          "name": "Cookie",
          "value": "JSESSIONID=YOUR_SESSION_ID"
        }
      ],
      "ports": [
        4848
      ],
      "protocol": "https",
      "repos": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC/README.md:198",
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC/README.md:843"
      ]
    },
    {
      "method": "GET",
      "path_template": "/common/index.jsf",
      "ports": [
        4848,
        8000,
        8080
      ],
      "protocol": "https",
      "repos": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC/CVE-2026-2587-Exploit-POC.py:391"
      ]
    },
    {
      "method": "GET",
      "path_template": "/login.jsf",
      "ports": [
        4848,
        8000,
        8080
      ],
      "protocol": "https",
      "repos": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "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"
      ]
    },
    {
      "method": "GET",
      "path_template": "/ngrok.asc",
      "ports": [
        4848,
        8000,
        8080
      ],
      "protocol": "https",
      "repos": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC/README.md:453"
      ]
    },
    {
      "method": "GET",
      "path_template": "/probe.xml",
      "ports": [
        8000
      ],
      "protocol": "http",
      "repos": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC/README.md:188"
      ]
    },
    {
      "method": "POST",
      "path_template": "/j_security_check",
      "body_markers": [
        "j_username=",
        "j_password="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        4848,
        8000,
        8080
      ],
      "protocol": "https",
      "repos": [
        "Bhanunamikaze/CVE-2026-2587-Exploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "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"
      ]
    }
  ],
  "rules": []
}
