cve.bz

CVE-2026-22797 openstack keystonemiddleware: Authentication Bypass by Spoofing

9.9 criticalEPSS 0.7%

Critical (9.9) in openstack keystonemiddleware. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in OpenStack keystonemiddleware 10.5 through 10.7 before 10.7.2, 10.8 and 10.9 before 10.9.1, and 10.10 through 10.12 before 10.12.1. The external_oauth2_token middleware fails to sanitize incoming authentication headers before processing OAuth 2.0 tokens. By sending forged identity headers such as X-Is-Admin-Project, X-Roles, or X-User-Id, an authenticated attacker may escalate privileges or impersonate other users. All deployments using the external_oauth2_token middleware are affected.

Severity

CVSS 3.1

9.9 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-01-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-290 Authentication Bypass by Spoofing
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-22797 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-22797?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-22797?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-22797 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenStack keystonemiddlewarefrom 10.5.0 before 10.7.2
OpenStack keystonemiddlewarefrom 10.8.0 before 10.9.1
OpenStack keystonemiddlewarefrom 10.10.0 before 10.12.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13python-keystonemiddleware10.9.0-2+deb13u1DEBIAN-CVE-2026-22797 DSA-6104-1
Debian14python-keystonemiddleware10.12.0-3DEBIAN-CVE-2026-22797
Ubuntu24.04:LTSpython-keystonemiddleware10.6.0-0ubuntu1.1UBUNTU-CVE-2026-22797
Ubuntu25.10python-keystonemiddleware10.12.0-0ubuntu1.1UBUNTU-CVE-2026-22797
openSUSETumbleweedpython-keystonemiddleware10.12.0-2.1openSUSE-SU-2026:10070-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an IMPORTANT privilege escalation flaw in OpenStack keystonemiddleware. The external_oauth2_token middleware does not correctly sanitize incoming authentication headers. An authenticated attacker can exploit this by sending forged identity headers, such as X-Is-Admin-Project, X-Roles, or X-User-Id, to escalate privileges or impersonate other users. All Red Hat OpenStack Platform deployments utilizing the external_oauth2_token middleware are affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.17openshift4/ose-ironic-rhel9:1774266098Fixed 2026-04-01RHSA-2026:5907
Red Hat OpenShift Container Platform 4.18openshift4/ose-ironic-rhel9:1773138063Fixed 2026-03-25RHSA-2026:5133
Red Hat OpenShift Container Platform 4.19openshift4/ose-ironic-rhel9:1772477045Fixed 2026-03-18RHSA-2026:4434
Red Hat OpenShift Container Platform 4.20openshift4/ose-ironic-rhel9:1772176749Fixed 2026-03-11RHSA-2026:3855
Red Hat OpenShift Container Platform 4.21openshift4/ose-ironic-rhel9:1772029626Fixed 2026-03-03RHSA-2026:3402
Red Hat OpenShift Container Platform 4openshift4/ose-ironic-rhel8Affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-aodh-apiNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-aodh-baseNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-aodh-evaluatorNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-aodh-listenerNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-aodh-notifierNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-barbican-apiNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-barbican-baseNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-barbican-keystone-listenerNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-barbican-workerNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-ceilometer-baseNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-ceilometer-centralNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-ceilometer-computeNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-ceilometer-ipmiNot affected
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-ceilometer-notificationNot affected
298 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-22797.

Attack patterns (CAPEC)

  • CAPEC-21 Exploitation of Trusted Identifiers Likelihood: High · Severity: High
  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-60 Reusing Session IDs (aka Session Replay) Likelihood: High · Severity: High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness Severity: High
  • CAPEC-473 Signature Spoof
  • CAPEC-476 Signature Spoofing by Misrepresentation Likelihood: Low · Severity: High
  • CAPEC-667 Bluetooth Impersonation AttackS (BIAS) Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON