HIGH 7.8

CVE-2026-111241

Apache TomEE: Local code execution via predictable passivation files in the shared temporary directory

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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)

ArtifactAffected versionsFixed 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

2affected artifacts
115affected versions
291dependent artifacts (est.)
6,625dependent versions

61% of the dependent artifacts (178) still pull an affected version in their latest release.

DepthDependent versions
Direct
3,224
2 hops
2,754
3 hops
484
4 hops
147
5 hops
16

Most used dependents

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.