CVE-2026-22797
An issue was discovered in OpenStack keystonemiddleware 10.5 through 10.7 before 10.7.2, 10.8 and...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
9.9
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.
- Record
CVE-2026-22797- 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 - Weakness
- CWE-290, CWE-290
- Updated
- 2026-11-02
EUVDEUVD-2026-3202
9.9
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.
- Record
EUVD-2026-3202- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-4428-9rh9-r27g
9.9
An issue was discovered in OpenStack keystonemiddleware 10.5 through 10.7 before 10.7.2, 10.8 and...
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.
- Record
GHSA-4428-9rh9-r27g- 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 - Weakness
- CWE-290
- Updated
- 2026-11-02
NVD
9.9
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.
- Record
CVE-2026-22797- 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 - Weakness
- CWE-290
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-22797
9.9
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.
- Record
DEBIAN-CVE-2026-22797- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-22797
9.9
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.
- Record
UBUNTU-CVE-2026-22797- 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 - Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10070-1 No score
python-keystonemiddleware-doc-10.12.0-2.1 on GA media
These are all security issues fixed in the python-keystonemiddleware-doc-10.12.0-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10070-1- Updated
- 2026-11-02
OSVUSN-8008-1 No score
python-keystonemiddleware vulnerability
Grzegorz Grasza discovered that the Keystone Middleware incorrectly sanitized authentication headers before processing OAuth 2.0 tokens. An attacker could possibly use this issue to escalate privileges or impersonate other users.
- Record
USN-8008-1- Updated
- 2026-11-02
Affected products
- openstack keystonemiddleware
- red hat openshift container platform 4.17
- red hat openshift container platform 4.18
- red hat openshift container platform 4.19
- red hat openshift container platform 4.20
- red hat openshift container platform 4.21
- red hat openstack platform 13 (queens)
- red hat openstack platform 16.2
- red hat openstack platform 17.1
- red hat openstack platform 18.0
Affected packages
| Package | Affected | Fixed |
|---|---|---|
python-keystonemiddlewareDebian:13 |
before 10.9.0-2+deb13u1, plus listed versions 10.9.0-2 |
10.9.0-2+deb13u1 |
python-keystonemiddlewareDebian:14 |
before 10.12.0-3, plus listed versions 10.12.0-110.12.0-210.9.0-2 |
10.12.0-3 |
python-keystonemiddlewareUbuntu:24.04:LTS |
before 10.6.0-0ubuntu1.1, plus listed versions 10.4.1-0ubuntu110.5.0-0ubuntu110.5.0-0ubuntu210.6.0-0ubuntu1 |
10.6.0-0ubuntu1.1 |
python-keystonemiddlewareUbuntu:25.10 |
before 10.12.0-0ubuntu1.1, plus listed versions 10.9.0-0ubuntu110.11.0-0ubuntu110.12.0-0ubuntu1 |
10.12.0-0ubuntu1.1 |
python-keystonemiddlewareopenSUSE:Tumbleweed |
before 10.12.0-2.1 | 10.12.0-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-22797 is a critical vulnerability (CVSS 9.9) in Openstack Keystonemiddleware, published January 19, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in python-keystonemiddleware 10.9.0-2+deb13u1.
References
launchpad.net/bugs/2129018
openwall.com/lists/oss-security/2026/01/16/9
openwall.com/lists/oss-security/2026/01/15/1
openwall.com/lists/oss-security/2026/01/16/2
openwall.com/lists/oss-security/2026/01/16/3
access.redhat.com/security/cve/CVE-2026-22797
Show 15 moreShow less
bugzilla.redhat.com/show_bug.cgi?id=2430879
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22797.json
access.redhat.com/errata/RHSA-2026:5907
access.redhat.com/errata/RHSA-2026:5133
access.redhat.com/errata/RHSA-2026:4434
access.redhat.com/errata/RHSA-2026:3855
access.redhat.com/errata/RHSA-2026:3402
nvd.nist.gov/vuln/detail/CVE-2026-22797
github.com/advisories/GHSA-4428-9rh9-r27g
security-tracker.debian.org/tracker/CVE-2026-22797
ubuntu.com/security/CVE-2026-22797
cve.org/CVERecord?id=CVE-2026-22797
security.openstack.org/ossa/OSSA-2026-001.html
ubuntu.com/security/notices/USN-8008-1
suse.com/security/cve/CVE-2026-22797