Skip to main content
EPSS 0.6%top 53%

CVE-2026-22797: CWE-290 Authentication Bypass by Spoofing in OpenStack keystonemiddleware

0
Critical
VulnerabilityCVE-2026-22797cvecve-2026-22797cwe-290
Published: 01/19/2026 (01/19/2026, 00:00:00 UTC)
Source: CVE Database V5
Vendor/Project: OpenStack
Product: keystonemiddleware

Description

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.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Affected software

OpenStack

keystonemiddleware

Affected versions
>=10.5.0 <10.7.2>=10.8.0 <10.9.1>=10.10.0 <10.12.1
keystonemiddleware
pkg:pypi/keystonemiddleware
Affected versions
>=10.5.0 <10.7.2=10.8.0>=10.9.0 <10.9.1>=10.10.0 <10.12.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 14:03:53 UTC

Technical Analysis

The vulnerability CVE-2026-22797 in OpenStack keystonemiddleware affects the external_oauth2_token middleware, which does not sanitize authentication headers before processing OAuth 2.0 tokens. This flaw allows an authenticated attacker to send forged identity headers (e.g., X-Is-Admin-Project, X-Roles, X-User-Id) to escalate privileges or impersonate other users. The affected versions include 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. Red Hat advisories confirm the issue and provide patches. The CVSS v3.1 score is 9.9 (critical), indicating high impact on confidentiality and integrity with low attack complexity and no user interaction required.

Potential Impact

An authenticated attacker can exploit this vulnerability to escalate privileges or impersonate other users by forging authentication headers. This compromises confidentiality and integrity of the system and can lead to unauthorized access to sensitive resources. The availability impact is low. The vulnerability affects all deployments using the external_oauth2_token middleware in the specified versions.

Mitigation Recommendations

A fix is available. Users should upgrade to patched versions: 10.7.2 or later for the 10.5–10.7 series, 10.9.1 or later for the 10.9 series, and 10.12.1 or later for the 10.10–10.12 series. Red Hat has issued advisories and updates for affected products. Applying these official patches is the recommended mitigation. No vendor advisory states that no action is required or that the issue is already mitigated without patching.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-01-09T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-22797","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5907","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5133","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4434","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3855","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3402","vendor":"Red Hat"}]

Threat ID: 696e6cd9d302b072d9ceaf16

Added to database: 01/19/2026, 17:41:45 UTC

Last enriched: 08/13/2026, 14:03:53 UTC

Last updated: 09/10/2026, 22:12:33 UTC

Views: 870

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses