Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid MicroProfile JWT
-
DeliveryCall run-as servlet, force abnormal termination
-
ExploitLeave elevated context on pooled thread
-
ExecutionLater request reuses same thread
-
PersistInvoke enterprise beans as elevated identity
-
ImpactUnauthorized 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
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.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
3DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Apache Tomee
View allAuthentication bypass in Apache TomEE lets remote unauthenticated attackers reach EJB-based JAX-WS endpoints that are co
Authorization bypass in Apache TomEE's MicroProfile JWT role-based access control allows remote callers to reach JAX-RS
Apache TomEE's Jakarta Security LDAP identity store can treat an empty password as a successful credential when the back
Apache TomEE deployments running on JDK 21 or later skip EJB method authorization checks, so unauthenticated remote call
Default installations of Apache TomEE that have no users defined in the default user database can silently create an adm
Incorrect authorization in Apache TomEE means an authenticated caller whose user name happens to match an existing role
Apache TomEE's optional SSH administration service can grant full administrative shell access to any user who authentica
Local code execution in Apache TomEE occurs when a non-default stateful session bean passivation strategy writes passiva
Apache TomEE deployments that publish an EJB-backed JAX-WS endpoint inside an existing web application can expose web se
Apache TomEE can silently fail to enforce configured authentication and transport-security settings when EJBs are expose
Information disclosure in Apache TomEE can expose protected resources, application configuration, and class files when t
Path traversal in Apache TomEE lets unauthenticated remote attackers who can reach the remote EJB service cause stateful
EUVD-2026-121250
GHSA-rh6w-4p8r-7ghm
NVD
CVE.org
EPSS
VulDB
Exploit-DB