CVE-2026-97874: Apache TomEE: Authentication bypass for Hessian endpoints in non-root web applications
When Hessian remoting is configured with BASIC authentication, the authentication check is not applied to Hessian endpoints of applications deployed under a non-root context path. A remote unauthenticated attacker can invoke the exposed EJB methods without credentials. 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 endpoints from untrusted clients.
- Compensating control
Migrate from Hessian remoting to another remoting protocol.
Event History
Frequently Asked Questions
Which deployments are exposed to unauthenticated remote access?
Deployments using Hessian remoting with BASIC authentication are affected when the application is deployed under a non-root context path. In that configuration, exposed EJB methods can be invoked remotely without credentials.
What does an attacker need to exploit this issue?
An attacker needs network access to the affected Hessian endpoint. No authentication credentials are required to invoke the exposed EJB methods.
What can be done if migration is not immediately possible?
Block network access to Hessian endpoints from untrusted clients. Restricting access to trusted clients reduces exposure while Hessian remains in use.