This is a concurrency issue that can result in the wrong caller principal being returned from the session context of an EJB that is configured with a RunAs principal. In particular, the org.jboss.as.ejb3.component.EJBComponent class has an incomingRunAsIdentity field. This field is used by the org.jboss.as.ejb3.security.RunAsPrincipalInterceptor to keep track of the current identity prior to switching to a new identity created using the RunAs principal. The exploit consist that the EJBComponent#incomingRunAsIdentity field is currently just a SecurityIdentity. This means in a concurrent environment, where multiple users are repeatedly invoking an EJB that is configured with a RunAs principal, it's possible for the wrong the caller principal to be returned from EJBComponent#getCallerPrincipal. Similarly, it's also possible for EJBComponent#isCallerInRole to return the wrong value. Both of these methods rely on incomingRunAsIdentity. Affects all versions of JBoss EAP from 7.1.0 and all versions of WildFly 11+ when Elytron is enabled.
Conclusion & alert: CVE-2022-0866 is rated Moderate Risk (40.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.82%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.27% | 0.82% | +0.55% |
| 2 | 2025-11-21 | 0.16% | 0.27% | +0.11% |
| 3 | 2025-11-18 | — | 0.16% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-0866 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| redhat | jboss_enterprise_application_platform | >= 7.1.0 | cpe:2.3:a:redhat:jboss_enterprise_application_platform:*:*:*:*:*:*:*:* |
| redhat | openstack_platform | 13.0 | cpe:2.3:a:redhat:openstack_platform:13.0:*:*:*:*:*:*:* |
| redhat | wildfly | >= 11.0.0, < 26.1.1 | cpe:2.3:a:redhat:wildfly:*:*:*:*:*:*:*:* |
| redhat | wildfly | 27.0.0 | cpe:2.3:a:redhat:wildfly:27.0.0:alpha1:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2060929#c0 | Issue Tracking Mitigation Vendor Advisory |