CVE-2026-111245

Apache TomEE: Privilege escalation via WS-Security caller identity leaking between requests

Critical published · updated

9.8
CVSS score out of 10 · NVD (134c704f-9b21-4f2e-91b3-4a467353bcc0)

Description

After a successful WS-Security UsernameToken authentication, the caller identity stays associated with the worker thread once the request completes when web services are served by the standalone OpenEJB HTTP server. A remote unauthenticated attacker whose request is later processed on the same thread can invoke protected EJB methods with the identity of a previously authenticated user. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
org.apache.openejb:openejb-cxf maven ≤4.7.5— CVE.org
apache tomee apache software foundation ≤4.7.5— CVE.org
org.apache.tomee:openejb-cxf maven 7.0.0-M1 → <10.0.0-M1; 10.0.0-M1 → <10.3.0; 11.0.0-M1 → <11.0.0-M211.0.0-M2 CVE.org
apache tomee apache software foundation 7.0.0-M1 → <10.0.0-M1; 10.0.0-M1 → <10.3.0; 11.0.0-M1 → <11.0.0-M211.0.0-M2 CVE.org

References