CVE-2026-97872: Apache TomEE: Authentication bypass of Hessian EJB endpoints due to ignored security settings
When an EJB is exposed over the optional Hessian protocol inside an existing web application, some configured authentication and transport security settings are silently not enforced. A remote unauthenticated attacker can invoke the exposed EJB methods. Only deployments using the Hessian module with such settings are affected. Users are recommended to block network access to Hessian endpoints from untrusted clients, or to migrate to another remoting protocol.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Block network access to Apache TomEE Hessian EJB endpoints from untrusted clients.
- Compensating control
Migrate EJB remoting from the optional Hessian protocol to another remoting protocol.
Event History
Frequently Asked Questions
Which deployments are affected?
Only deployments that expose an EJB through the optional Hessian protocol within an existing web application and rely on configured authentication or transport-security settings for that endpoint are affected.
What access does an attacker need?
An attacker needs remote network access to a reachable Hessian endpoint. No authentication is required to invoke the exposed EJB methods when the affected security settings are not enforced.
What can be done if migration cannot happen immediately?
Block network access to Hessian endpoints from untrusted clients. This limits exposure while the deployment is migrated to another remoting protocol.