CVE-2026-97888: Apache TomEE: Caller identity leaks across requests in embedded HTTP server
The embedded HTTP server does not clear the security identity established during a request before its worker thread handles the next request. A remote unauthenticated attacker can have their request processed with the identity of a previously authenticated user, gaining that user's privileges. Only applications served by the embedded HTTP server that authenticate programmatically or via basic authentication are affected. Users are recommended to block network access to the embedded HTTP server from untrusted clients, or to migrate to the Tomcat based TomEE distributions.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Only applications served by the embedded HTTP server are affected, and only when they use programmatic authentication or basic authentication. TomEE distributions based on Tomcat are identified as an alternative deployment option.
What does an attacker need to exploit this issue?
The attacker can be remote and unauthenticated. Exploitation depends on their request being handled by a worker thread that previously processed an authenticated user's request, causing the prior identity to be reused.
What can be done if migration is not immediately possible?
Block network access to the embedded HTTP server from untrusted clients. This reduces the ability of remote unauthenticated clients to submit requests that could inherit a prior user's identity.