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.
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.