Apache TomEE: Stateful session bean identifier predictability (CVE-2026-87755)
Apache TomEE fails to use a cryptographically secure random source for stateful session bean identifiers, allowing a remote attacker with a valid session to predict and hijack other users' session states.
CVE search metadata
CVE search record: CVE-2026-87755. Severity: high. CVSS: 7.5. EPSS: 0.19%. KEV: no. Product: Apache TomEE, Apache TomEE (10.0.0-M1 to <10.3.0), Apache TomEE (11.0.0-M1 to <11.0.0-M2), Apache TomEE (7.0.0-M1 to <10.0.0-M1). Brief: Apache TomEE: Stateful session bean identifier predictability (CVE-2026-87755). Brief link: https://feed.craftedsignal.io/briefs/2026-11-tomee-session-hijacking-cve-2026-87755/
Triage facts
Revision 1- Applicability
- Apache TomEE, Apache TomEE (10.0.0-M1 to <10.3.0) +2
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 16, 16:19 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Roughly even chance
Overview
Apache TomEE contains a vulnerability where stateful session bean identifiers are generated using a cryptographically insecure random source (CVE-2026-87755). A remote attacker with access to the EJB remote endpoint and one valid session identifier can predict subsequent identifiers, enabling them to hijack active user sessions. This can result in unauthorized method invocation, as well as the modification or exposure of sensitive session data.
Impact
Successful exploitation allows remote attackers to perform unauthorized actions on behalf of other authenticated users, leading to potential data exposure or session state modification.
Recommendation
Upgrade to the patched versions of Apache TomEE to remediate this vulnerability:
- For the 10.x branch: Upgrade to version 10.3.0 or later.
- For the 11.x branch: Upgrade to version 11.0.0-M2 or later.
- For older versions (e.g., 4.x, 7.x): Evaluate migration to a supported version as these are confirmed affected.
Detection teams should monitor EJB remote endpoint access logs for anomalous session identifier patterns or unauthorized method invocation attempts from suspicious source IPs.
Threat Hunt
Monitor EJB remote interface logs for abnormal patterns of session identifier sequences or unexpected method calls originating from the same source IP address shortly after a successful authentication event.
Data: EJB application logs, Web server access logs
Mitigations
Upgrade Apache TomEE to version 10.3.0 or 11.0.0-M2