CVE-2026-111245
Apache TomEE: Privilege escalation via WS-Security caller identity leaking between requests
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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.openejb » openejb-cxfpreliminary | >= 4.0.0-beta-1, <= 4.7.5 | - |
| org.apache.tomee » openejb-cxfpreliminary | >= 7.0.0-M1, < 10.0.0-M1>= 10.0.0-M1, < 10.3.0>= 11.0.0-M1, < 11.0.0-M2 | 10.0.0-M1, 10.3.0, 11.0.0-M2 |
Blast radius
50% of the dependent artifacts (13) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 464 |
| 2 hops | 102 |
| 3 hops | 167 |
| 4 hops | 79 |
Most used dependents
- org.apache.tomee » tomee-embedded19 usages
- org.apache.tomee » tomee-webservices16 usages
- org.apache.openejb » tomee-webservices10 usages
- org.apache.tomee » tomee-webapp9 usages
- org.apache.tomee » arquillian-tomee-embedded7 usages
- org.apache.tomee.maven » tomee-embedded-maven-plugin5 usages
- org.apache.tomee » tomee-plume-webapp2 usages
- org.apache.tomee » tomee-plus-webapp2 usages
- org.apache.tomee » tomee-microprofile-webapp2 usages
- org.apache.openejb » tomee-plus-webapp1 usages
- org.apache.tomee.bom » tomee-webprofile1 usages
- org.apache.openejb » tomee-plume-webapp1 usages
- org.wso2.tomee » tomee1 usages
- org.apache.openejb » openejb-tomcat-plus-webapp1 usages
- org.apache.tomee » arquillian-tomee-tests0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
