CVE-2026-86531: Apache TomEE: DoS via unbounded request body and multipart handling in embedded HTTP server
The embedded OpenEJB HTTP server does not limit the size of incoming request bodies or of multipart requests, and does not remove the temporary files it creates for multipart parts. A remote unauthenticated attacker can cause excessive memory or disk usage, leading to denial of service. Deployments using the Tomcat connectors are not 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.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Block network access to the embedded OpenEJB HTTP server from untrusted clients.
- Compensating control
Migrate from the embedded OpenEJB HTTP server to a Tomcat-based TomEE distribution.