Home / Wildfly / Wildfly / CVE-2022-0866
CVE-2022-0866: is it exploited, and which versions of Wildfly are affected and fixed?
CVE-2022-0866 is an incorrect authorization vulnerability in Wildfly. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: Wildfly JBoss EAP from 7.1.0 and all versions of WildFly 11+ when Elytron is enabled. (CVE record by redhat). Fixed in 26.1.1 (NVD). Severity: Medium (5.3, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2022-0866?
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.
From the CVE record by redhat, last updated August 2, 2024, 23:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Wildfly | JBoss EAP from 7.1.0 and all versions of WildFly 11+ when Elytron is enabled. |
As the CVE record by redhat states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | jboss enterprise application platform | from 7.1.0 | application |
| redhat | openstack platform | 13.0 | application |
| redhat | wildfly | from 11.0.0 before 26.1.1 | application |
| redhat | wildfly | 27.0.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:21 UTC.
How severe is CVE-2022-0866?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-0866 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.90% probability of exploitation activity in the next 30 days, percentile 60.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-863 Incorrect Authorization
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=2060929#c0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 4, 2022
- Published
- May 10, 2022, 20:20 UTC
- CVE record updated
- August 2, 2024, 23:40 UTC by redhat
- NVD
- Analyzed, last modified June 17, 2026, 04:21 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Wildfly?
- Sep 13, 2022CVE-2022-1278 WildFly: insecure default setting
- May 24, 2022CVE-2021-3717 wildfly: files or folders accessible to outside parties
- Apr 18, 2022CVE-2021-3503 wildfly: information disclosure
- Jun 7, 2021CVE-2020-1719 Wildfly: privilege Context Switching Error
- Jun 2, 2021CVE-2020-14317 Wildfly: signal Handler Race Condition
- May 20, 2021CVE-2021-3536 wildfly: cross-site scripting (XSS)
- May 13, 2021CVE-2021-20250 wildfly: information disclosure
- Dec 8, 2020CVE-2020-27822 wildfly: memory leak
Questions about CVE-2022-0866
Is CVE-2022-0866 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.90% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Wildfly are affected by CVE-2022-0866?
Wildfly JBoss EAP from 7.1.0 and all versions of WildFly 11+ when Elytron is enabled., per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2022-0866?
26.1.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-0866?
Medium (5.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-0866?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.