Skip to content

CVE-2026-111245 Apache TomEE: Privilege escalation via WS-Security caller identity leaking between requests

CriticalCVSS 9.8 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

After a successful WS-Security UsernameToken authentication, the caller identity stays associated with the worker thread once the request completes when web services are served by the standalone OpenEJB HTTP server. A remote unauthenticated attacker whose request is later processed on the same thread can invoke protected EJB methods with the identity of a previously authenticated user. 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-cxf(Maven) >= 4.0.0-beta-1, <= 4.7.5 after 4.7.5 Fixed
org.apache.tomee/openejb-cxf(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-cxf(Maven) >= 4.0.0-beta-1, <= 4.7.5 No fix listed
org.apache.tomee/openejb-cxf(Maven) >= 7.0.0-M1, < 10.0.0-M1 10.0.0-M1
org.apache.tomee/openejb-cxf(Maven) >= 10.0.0-M1, < 10.3.0 10.3.0
org.apache.tomee/openejb-cxf(Maven) >= 11.0.0-M1, < 11.0.0-M2 11.0.0-M2

References