Vulnerability · Published Jan 19, 2026 · Assigned by mitre
CVE-2026-22797
Critical 9.9
In plain English
A critical-severity authentication bypass by spoofing in keystonemiddleware from OpenStack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | python-keystonemiddleware | 10.9.0-2+deb13u1 | DSA-6104-1 |
| Debian:13 | python-keystonemiddleware | 10.9.0-2+deb13u1 | DEBIAN-CVE-2026-22797 |
| Debian:14 | python-keystonemiddleware | 10.12.0-3 | DEBIAN-CVE-2026-22797 |
| Ubuntu:24.04:LTS | python-keystonemiddleware | 10.6.0-0ubuntu1.1 | UBUNTU-CVE-2026-22797 |
| Ubuntu:25.10 | python-keystonemiddleware | 10.12.0-0ubuntu1.1 | UBUNTU-CVE-2026-22797 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenStack | keystonemiddleware | 10.5.0 – before 10.7.210.8.0 – before 10.9.110.10.0 – before 10.12.1 |
Weakness: CWE-290 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
References
- https://launchpad.net/bugs/2129018
- https://www.openwall.com/lists/oss-security/2026/01/16/9
- http://www.openwall.com/lists/oss-security/2026/01/15/1
- http://www.openwall.com/lists/oss-security/2026/01/16/2
- http://www.openwall.com/lists/oss-security/2026/01/16/3
- http://www.openwall.com/lists/oss-security/2026/01/16/9
- https://access.redhat.com/security/cve/CVE-2026-22797 vdb-entry, x_refsource_REDHAT
- RHBZ#2430879 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22797.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:5907 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:5133 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:4434 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:3855 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:3402 vendor-advisory, x_refsource_REDHAT