Skip to main content

Apache TomEE EUVDEUVD-2026-121250

| CVE-2026-111242 HIGH
Exposure of Data Element to Wrong Session (CWE-488)
2026-11-10 apache GHSA-rh6w-4p8r-7ghm
7.3
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid MicroProfile JWT
  2. Delivery
    Call run-as servlet, force abnormal termination
  3. Exploit
    Leave elevated context on pooled thread
  4. Execution
    Later request reuses same thread
  5. Persist
    Invoke enterprise beans as elevated identity
  6. Impact
    Unauthorized bean access / data exposure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V14 - Data Protection Exposure of data element to wrong session
Exploitation Conditions

Exploitation requires a specific configuration: servlets using MicroProfile JWT authentication that also declare a run-as identity on Apache TomEE (affected 8.0.0-M2 through <10.3.0 on the 10.x line and 11.0.0-M1 through <11.0.0-M2). The attacker must hold a valid JWT token, and the flaw only manifests when a request does not complete normally and the same worker thread is subsequently reused for an unrelated request. Limiting factors: non-default run-as configuration is mandatory, a valid token is needed, and the stale-context condition depends on abnormal request termination plus thread-pool reuse that the attacker does not fully control. Deployments not using MicroProfile JWT with run-as identities are unaffected. The only complete fix per the vendor is upgrading to 10.3.0 or 11.0.0-M2.

Impact

The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) scores 7.3, but it conflicts with the description: the attacker must be 'holding a valid token,' which is an authentication prerequisite inconsistent with PR:N - verify privilege assumption with the vendor. Exploitation also depends on a request failing to complete normally and a later unrelated request being served by the same (reused) thread, which is not reflected in the AC:L rating; realistically this is harder than AC:L implies. Corroborating signals point to moderate, not urgent, risk: EPSS is low at 0.23% (14th percentile), the issue is NOT on the CISA KEV list, and no public exploit or PoC code is referenced (only Apache/oss-security advisories). The impact is a privilege/identity bleed - later requests invoke enterprise beans under an elevated run-as identity - rated C:L/I:L/A:L. The vuln.today decision label is 'this_week,' consistent with a real but non-emergency server-side authorization flaw that warrants prompt patching rather than crisis response. Net: a genuine authorization-integrity bug in a configuration-specific code path, but low observed exploitation probability and no evidence of active exploitation.

Exploit ScenarioDerived

An attacker possessing a valid MicroProfile JWT sends a request to a servlet configured with a run-as identity and causes it to terminate abnormally, leaving the elevated security context attached to the worker thread. A subsequent, unrelated request handled by that same pooled thread then invokes enterprise beans under the leftover elevated run-as identity, bypassing intended authorization. No public exploit code is referenced; the described network vector is offset by dependence on non-normal request completion and thread reuse.

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

Apache TomEE can leave a stale run-as security identity bound to a worker thread when a servlet request authenticated through MicroProfile JWT does not complete normally, allowing a later, unrelated request served by that same thread to invoke enterprise beans under the elevated identity. Only deployments using MicroProfile JWT authentication on servlets that also declare a run-as identity are exposed, and the attacker must already hold a valid JWT token, which is why the assessed vector is AV:N/AC:H/PR:L rather than the published PR:N/AC:L rating; the trigger also depends on abnormal request termination followed by thread-pool reuse that the attacker does not fully control. Affected ranges are 8.0.0-M2 through <10.0.0-M1 and 10.0.0-M1 through <10.3.0 on the 10.x line plus 11.0.0-M1 through <11.0.0-M2, with fixes in 10.3.0 and 11.0.0-M2; no CISA KEV entry or public exploit code is associated with this issue at time of analysis, and EPSS is 0.23% (14th percentile).

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

MicroProfile JWT authentication combined with servlet run-as identities in Apache TomEE can leave an elevated security identity bound to a pooled worker thread when a request ends abnormally, allowing a later unrelated request on that thread to invoke enterprise beans under the run-as identity. The issue affects Apache TomEE 8.0.0-M2 before 10.0.0-M1, 10.0.0-M1 before 10.3.0, and 11.0.0-M1 before 11.0.0-M2; an authenticated remote attacker must hold a valid JWT, the deployment must use the specific run-as configuration, and exploitation is probabilistic because the attacker does not control which later request reuses the tainted thread. No public exploit identified at time of analysis, and vendor fixes are available in 10.3.0 and 11.0.0-M2.

RemediationAI

The vendor-stated complete fix is to upgrade Apache TomEE to 10.3.0 on the 10.x line or 11.0.0-M2 on the 11.x line, both of which address the stale run-as security context (advisory: https://lists.apache.org/thread/opr1oob7p8xtqwcj1yv2dnsj4zqo9f03). No fixed release is listed for the 8.x branch ending at <10.0.0-M1, and the available sources do not document a standalone workaround or configuration toggle that removes the flaw; the only complete remediation per the vendor is applying the fixed versions. Because the issue is configuration-gated, verify during upgrade planning whether affected applications actually combine MicroProfile JWT authentication with servlets declaring a run-as identity, since deployments without that combination do not exhibit the behavior. Patch status per vendor data: Patch available per vendor advisory, with fixed versions 10.3.0 and 11.0.0-M2.

Affected VersionsENISA

Apache TomEE 10.0.0-M1 <10.3.0
Apache TomEE 11.0.0-M1 <11.0.0-M2
Apache TomEE 8.0.0-M2 <10.0.0-M1

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

Apache TomEE's servlet container executes requests on pooled worker threads, and container-managed security state - including the identity established for a servlet that declares a run-as role and for MicroProfile JWT authentication - is typically held in thread-local context that must be torn down when a request finishes. CWE-488 (Exposure of Data Element to Wrong Session) describes exactly this failure mode: the security context is not always cleared when a request terminates abnormally, so the next request scheduled onto that pooled thread inherits the previous request's elevated run-as identity. The exact code path that skips the cleanup is not detailed in the available sources; the vendor describes the precondition only as a request that 'does not complete normally.' The vulnerability is configuration-gated rather than universal: it requires MicroProfile JWT authentication to be in use together with servlets that declare a run-as identity, and deployments without that combination are unaffected. Exploitation further requires a valid JWT token and depends on thread-pool reuse after the abnormal termination, which is why the assessed CVSS 3.1 vector is AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L (the published 7.3 score uses AC:L/PR:N, which conflicts with the vendor's stated need to hold a valid token). Impact is bounded to low confidentiality, integrity and availability per the assessed vector.

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.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 5.0 MEDIUM

PR:L because a valid JWT is required; AC:H because exploitation depends on abnormal request completion and reuse of the same pooled thread, conditions the attacker cannot fully control.

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

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

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

Lifecycle Timeline

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

DescriptionCVE.org

When MicroProfile JWT authentication is used for servlets that declare a run-as identity, the security state established for a request is not always cleared from the processing thread when the request does not complete normally. A remote attacker holding a valid token can cause later, unrelated requests served by the same thread to invoke enterprise beans with the elevated run-as identity. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.

Executive ViewAI

Why It Matters

A security flaw in Apache TomEE could allow an authenticated user with a valid JWT to inadvertently assume a run-as identity on subsequent requests, potentially accessing enterprise beans with elevated privileges. This affects only specific TomEE configurations used by some internal applications. Leadership should prioritize patching to avoid unauthorized access to sensitive business functions.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
Niche Jakarta EE 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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-111241 HIGH
7.8 Nov 10

Local code execution in Apache TomEE occurs when a non-default stateful session bean passivation strategy writes passiva

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

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