CVE-2026-111241
Apache TomEE: Local code execution via predictable passivation files in the shared temporary directory
Description
When a non-default stateful session bean passivation strategy is configured, passivated bean state is written to predictably named files in the shared system temporary directory, reusing files that already exist there, and is deserialized on activation. A local attacker who can write to that directory can read passivated session state or supply data that the server deserializes, potentially leading to code execution as the server process. 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-corepreliminary | >= 4.0.0-beta-1, <= 4.7.5 | - |
| org.apache.tomee » openejb-corepreliminary | >= 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
61% of the dependent artifacts (178) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 3,224 |
| 2 hops | 2,754 |
| 3 hops | 484 |
| 4 hops | 147 |
| 5 hops | 16 |
Most used dependents
- org.apache.geronimo.configs » openejb-deployer64 usages
- org.apache.geronimo.configs » openejb61 usages
- org.apache.tomee » openejb-cxf-rs55 usages
- org.apache.tomee » openejb-server55 usages
- org.apache.geronimo.configs » tomcat7-deployer51 usages
- org.apache.tomee » arquillian-tomee-remote48 usages
- org.apache.geronimo.configs » jetty8-deployer48 usages
- org.apache.tomee » apache-tomee42 usages
- org.apache.tomee.maven » tomee-maven-plugin39 usages
- org.apache.openejb » openejb-server30 usages
- org.apache.geronimo.configs » tomcat727 usages
- org.apache.geronimo.configs » jetty827 usages
- org.apache.tomee » tomee-catalina26 usages
- org.apache.tomee » tomee-jaxrs24 usages
- org.apache.tomee » openejb-cxf23 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.
