CVE-2026-111241

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

Published Nov 10, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Passivated session beans in TomEE are written to predictably named files in the shared system temporary directory when a non‑default passivation strategy is configured. These files are reused and later deserialized during activation. A local attacker who can write to that directory can read existing session state or inject malicious data that the server deserializes, potentially leading to code execution as the TomEE process. The weakness is a deserialization flaw linked to CWE‑377.

Affected Systems

Apache TomEE from Apache Software Foundation. Versions prior to 10.3.0 or 11.0.0‑M2 are affected. No newer releases contain the fix.

Risk and Exploitability

The vulnerability is local; an attacker needs write permission to the system temporary directory. The EPSS score is less than 1% and the flaw is not listed in the CISA KEV catalog, indicating low exploitation probability in the wild. However, the effect of a successful exploit would be local code execution. The CVSS score is 7.8, indicating a high severity within the affected environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache TomEE to version 10.3.0 or 11.0.0‑M2.
  • Restrict write access to the shared system temporary directory so that only the TomEE process can create or modify files there.
  • If an upgrade cannot be applied immediately, remove or disable the non‑default stateful session bean passivation strategy to prevent deserialization of data stored on disk.

Generated by OpenCVE AI on November 16, 2026 at 15:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Apache
Apache tomee
Vendors & Products Apache
Apache tomee
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
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.
Title Apache TomEE: Local code execution via predictable passivation files in the shared temporary directory
Weaknesses CWE-377
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 16, 2026, 2:04 PM
Reserved
Oct 15, 2026, 6:36 PM
Status
Awaiting Analysis
Published
Nov 10, 2026, 4:17 PM
Modified
Nov 16, 2026, 2:17 PM