Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-0866: This is a concurrency issue that can result in the wrong caller principal being returned from the session cont

43
This month
MEDIUM 5.3REMOTEWATCHLISTDOWNGRADEDOWNGRADEUPGRADE

CVE-2022-0866 is a medium-severity flaw (CVSS 5.3) affecting jboss enterprise application platform, openstack platform, wildfly. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 pri

Why this priority

  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score5.3 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.9% (top 40%)
CISA exploited listNo
WeaknessCWE-863
Published2022-05-10
Last modified2026-06-17
Publisher (CNA): Red Hat, Inc. · Vendor: redhat

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

redhat jboss enterprise application platform DOWNGRADE
Affected: >= 7.1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.1.0
1. Check installed version
apt-cache policy jboss-enterprise-application-platform || rpm -q jboss-enterprise-application-platform || jboss-enterprise-application-platform --version
2. No fixed release: DOWNGRADE to a release before 7.1.0 (Debian / Ubuntu)
apt-cache madison jboss-enterprise-application-platform sudo apt install jboss-enterprise-application-platform=<VERSION_BEFORE_7.1.0> sudo apt-mark hold jboss-enterprise-application-platform
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list jboss-enterprise-application-platform sudo dnf downgrade jboss-enterprise-application-platform-<VERSION_BEFORE_7.1.0> sudo dnf versionlock add jboss-enterprise-application-platform
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
redhat openstack platform DOWNGRADE
Affected: 13.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 13.0
1. Check installed version
apt-cache policy openstack-platform || rpm -q openstack-platform || openstack-platform --version
2. No fixed release: DOWNGRADE to a release before 13.0 (Debian / Ubuntu)
apt-cache madison openstack-platform sudo apt install openstack-platform=<VERSION_BEFORE_13.0> sudo apt-mark hold openstack-platform
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list openstack-platform sudo dnf downgrade openstack-platform-<VERSION_BEFORE_13.0> sudo dnf versionlock add openstack-platform
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
redhat wildfly UPGRADE
Affected: >= 11.0.0 and < 26.1.1 · 27.0.0 alpha1
Fixed in: 26.1.1
Safe to downgrade to: a release before 11.0.0
1. Check installed version
apt-cache policy wildfly || rpm -q wildfly || wildfly --version
2. UPGRADE to 26.1.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade wildfly
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade wildfly
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 11.0.0 (Debian / Ubuntu)
apt-cache madison wildfly sudo apt install wildfly=<VERSION_BEFORE_11.0.0> sudo apt-mark hold wildfly
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list wildfly sudo dnf downgrade wildfly-<VERSION_BEFORE_11.0.0> sudo dnf versionlock add wildfly
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-0866?

jboss enterprise application platform: downgrade or apply the listed mitigation; openstack platform: downgrade or apply the listed mitigation; wildfly: upgrade to 26.1.1. Exact commands for each OS are on this page.

Is CVE-2022-0866 being exploited?

CVE-2022-0866 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-0866 affect?

CVE-2022-0866 affects jboss enterprise application platform, openstack platform, wildfly. Severity is medium (CVSS 5.3). 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

How urgent is CVE-2022-0866?

Priority 43/100. Remotely exploitable, no login, no user action; On your watchlist

Software pages

JBoss and WildFly vulnerabilities · OpenStack vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.