Skip to main content

Apache TomEE CVE-2026-111241

| EUVDEUVD-2026-121253 HIGH
Insecure Temporary File (CWE-377)
2026-11-10 apache GHSA-98vr-xhpf-mpjq
7.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privileged access to server host
  2. Exploit
    Write crafted serialized payload to predictable temp file
  3. Execution
    Server deserializes file on bean activation
  4. Impact
    Execute arbitrary code as server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Secure temp file creation
Exploitation Conditions

Two concrete prerequisites must both hold: (1) TomEE must be running with a NON-DEFAULT stateful session bean passivation strategy that writes passivated state to the shared system temporary directory using predictable filenames; and (2) the attacker must have a local account with write access to that shared temp directory. Exploitation is gated by these factors - it is not possible against a default configuration, is not remotely reachable (AV:L), and depends on the server actually passivating and later activating a stateful session bean so the poisoned file is deserialized.

Impact

This is a genuine but conditional local-privilege-escalation / code-execution risk rather than a mass-exploitation emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.8 HIGH) is consistent with the description: a local, low-privileged attacker who can write to the shared system temporary directory can read or poison predictably named passivation files that Apache TomEE deserializes on bean activation, yielding C/I/A=High. The exploitation signals temper the raw score: EPSS is only 0.16% (5th percentile), there is no CISA KEV listing, and no public exploit code is identified in the provided references (only vendor/advisory links on lists.apache.org, NVD, and oss-security). The vuln.today decision label is 'this_week', which aligns with a patch-available HIGH local flaw that is not under active exploitation. Two limiting conditions materially lower real-world risk and should be stated plainly: the vulnerable behavior only applies when a NON-DEFAULT stateful session bean passivation strategy is configured, and the attacker must already have local write access to the shared temp directory - so this is not remotely reachable and not present in default installations. Net: prioritize for scheduled patching (this week) on TomEE hosts using custom passivation, but it is not a drop-everything internet-facing RCE.

Exploit ScenarioDerived

On a TomEE server configured with a non-default stateful session bean passivation strategy, a local user with write access to the shared system temp directory plants or overwrites a predictably named passivation file containing a malicious serialized object. When the server passivates and then re-activates the bean it deserializes the attacker-supplied data, potentially executing arbitrary code as the server process; the same predictable naming also lets the attacker read legitimate passivated session state. No public exploit code is identified at time of analysis, and exploitation requires prior local access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Nov 16, 2026

Local code execution in Apache TomEE occurs when a non-default stateful session bean passivation strategy writes passivated bean state into the shared system temporary directory under predictable filenames, reusing files already present there, and deserializes that content on activation. A local attacker holding an account with write access to that shared temp directory can read other users' passivated session state or plant crafted data that the server deserializes, achieving code execution as the TomEE process (CVSS 7.8, AV:L/PR:L). Fixed versions 10.3.0 and 11.0.0-M2 are available from the vendor; EPSS is 0.16% (5th percentile) and no public exploit has been identified at time of analysis, with exploitation gated on the non-default passivation configuration plus a passivation/activation cycle actually occurring.

Earlier versions of this analysis (1)
v1 Nov 10, 2026 - 16:23

Local attackers with write access to the shared system temporary directory can read passivated stateful session bean state or plant data that Apache TomEE later deserializes during bean activation, potentially executing code as the server process, but only when a non-default stateful session bean passivation strategy is configured; default deployments are described as unaffected. The affected range spans TomEE 7.0.0-M1 to <10.0.0-M1, 10.0.0-M1 to <10.3.0, 4.0.0-beta-1 through 4.7.5, and 11.0.0-M1 to <11.0.0-M2, with vendor fixes in 10.3.0 and 11.0.0-M2. No public exploit identified at time of analysis.

RemediationAI

Upgrade to Apache TomEE 10.3.0 or 11.0.0-M2, the versions in which the passivation file handling is fixed; older branches (4.x, 7.x through 10.0.0-M1, and 11.0.0-M1) should move to one of those fixed releases per the vendor advisory at https://lists.apache.org/thread/kbpc7t241483pnxo2sccrhyp6pjkwbq2. If upgrading cannot be completed immediately, the two prerequisites for exploitation can be removed as compensating controls with known trade-offs: revert stateful session bean passivation to the container's default strategy or point the custom strategy at a directory that is private to the TomEE service account instead of the shared system temp directory (this changes deployment configuration and may affect operational assumptions built around the custom strategy or the shared location), and tighten filesystem permissions on the system temporary directory so that only the TomEE service account and trusted administrative users can write to it (a system-wide change that can disrupt other applications or users that legitimately rely on that directory). Applying the vendor patch remains the complete fix and removes the need for either workaround.

Affected VersionsENISA

Apache TomEE 7.0.0-M1 <10.0.0-M1
Apache TomEE 10.0.0-M1 <10.3.0
Apache TomEE 4.0.0-beta-1 ≤4.7.5
Apache TomEE 11.0.0-M1 <11.0.0-M2

Affected Packages

euvd apache_tomee fix: 10.0.0-M1, 10.3.0, 11.0.0-M2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is an insecure temporary file issue (CWE-377) inside the EJB container's stateful session bean passivation path. In Jakarta EE / EJB, the container passivates an idle stateful session bean by serializing its conversational state to storage and later deserializes it when the bean is activated again. TomEE's non-default passivation strategies place those serialized blobs in the shared system temporary directory using filenames that an attacker can predict, and the code reuses a file that already exists at that path rather than creating a fresh one exclusively. That combination lets any local principal with write permission on the shared temp directory pre-create or replace the file that will be read back: the attacker can exfiltrate another tenant's or user's serialized session state, or substitute a payload that the container deserializes during activation, which is the step that can escalate to arbitrary code execution in the server's security context. Java deserialization of attacker-influenced bytes is the impact amplifier here, but the trigger is the predictable-path, reuse-existing-file handling of passivation storage, not a flaw in the deserializer itself. The CVSS vector (AV:L, AC:L, PR:L, UI:N) confirms the local, low-privilege access requirement and the absence of user interaction; it does not describe a remote or unauthenticated path.

Know when Apache Tomee gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 7.8 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Requires a local low-privileged account with write access to the shared temp directory, so AV:L and PR:L; untrusted deserialization yields code execution as the server process, giving C/I/A High.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Nov 16, 2026 - 14:34 vuln.today
v2 - CVSS changed
CVSS changed
Nov 16, 2026 - 14:22 NVD
7.8 (HIGH)
Patch available
Nov 10, 2026 - 16:03 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Apache TomEE contains a high-severity local code execution vulnerability (CVE-2026-111241) that arises only under a non-default session bean passivation configuration. An attacker with a low-privileged account on the same host could potentially read other users' session data or execute code as the TomEE process, but exploitation requires both that specific configuration and a passivation/activation cycle to occur. Given the EPSS of 0.2% and no public exploit identified at time of analysis, the risk is limited to deployments matching the vulnerable setup, yet any code execution on a server warrants management attention to avoid escalation of privileges.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
Jakarta/Java EE application server, far smaller footprint than Apache Tomcat
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-111264 CRITICAL
9.8 Nov 10

Authentication bypass in Apache TomEE lets remote unauthenticated attackers reach EJB-based JAX-WS endpoints that are co

CVE-2026-111244 CRITICAL
9.8 Nov 10

Authorization bypass in Apache TomEE's MicroProfile JWT role-based access control allows remote callers to reach JAX-RS

CVE-2026-111261 CRITICAL
9.1 Nov 10

Apache TomEE's Jakarta Security LDAP identity store can treat an empty password as a successful credential when the back

CVE-2026-86336 CRITICAL
9.1 Nov 10

Apache TomEE deployments running on JDK 21 or later skip EJB method authorization checks, so unauthenticated remote call

CVE-2026-111257 HIGH
8.8 Nov 10

Default installations of Apache TomEE that have no users defined in the default user database can silently create an adm

CVE-2026-111247 HIGH
8.1 Nov 10

Incorrect authorization in Apache TomEE means an authenticated caller whose user name happens to match an existing role

CVE-2026-111239 HIGH
8.0 Nov 10

Apache TomEE's optional SSH administration service can grant full administrative shell access to any user who authentica

CVE-2026-111263 HIGH
7.5 Nov 10

Apache TomEE deployments that publish an EJB-backed JAX-WS endpoint inside an existing web application can expose web se

CVE-2026-97872 HIGH
7.5 Nov 10

Apache TomEE can silently fail to enforce configured authentication and transport-security settings when EJBs are expose

CVE-2026-111258 HIGH
7.5 Nov 10

Information disclosure in Apache TomEE can expose protected resources, application configuration, and class files when t

CVE-2026-86811 HIGH
7.5 Nov 10

Path traversal in Apache TomEE lets unauthenticated remote attackers who can reach the remote EJB service cause stateful

CVE-2026-97881 HIGH
7.5 Nov 10

Unauthenticated remote file disclosure affects Apache TomEE deployments that run the embedded OpenEJB HTTP server, which

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy