Skip to content

CVE-2026-111241 Apache TomEE: Local code execution via predictable passivation files in the shared temporary directory

HighCVSS 7.8 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
org.apache.openejb/openejb-core(Maven) >= 4.0.0-beta-1, <= 4.7.5 after 4.7.5 Fixed
org.apache.tomee/openejb-core(Maven) >= 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 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.openejb/openejb-core(Maven) >= 4.0.0-beta-1, <= 4.7.5 No fix listed
org.apache.tomee/openejb-core(Maven) >= 7.0.0-M1, < 10.0.0-M1 10.0.0-M1
org.apache.tomee/openejb-core(Maven) >= 10.0.0-M1, < 10.3.0 10.3.0
org.apache.tomee/openejb-core(Maven) >= 11.0.0-M1, < 11.0.0-M2 11.0.0-M2

References