CVE-2026-22797: CWE-290 Authentication Bypass by Spoofing in OpenStack keystonemiddleware
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.
AI Analysis
Technical Summary
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.
CVE-2026-22797: CWE-290 Authentication Bypass by Spoofing in OpenStack 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
Affected software
OpenStack
keystonemiddleware
pkg:pypi/keystonemiddlewareRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.