CVE-2026-111245
Apache TomEE: Privilege escalation via WS-Security caller identity leaking between requests
9.8
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 / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| 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-M2 | 11.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-M2 | 11.0.0-M2 | CVE.org |