CVE-2026-22797 Auth bypass in keystonemiddleware
Authenticated attackers can escalate privileges or impersonate users by sending forged identity headers in OpenStack keystonemiddleware deployments using external_oauth2_token.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-22797?
CVE-2026-22797 is a critical authentication bypass vulnerability in OpenStack keystonemiddleware, published on 19 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Weakness: CWE-290
Which versions are affected by CVE-2026-22797?
Linux distribution packages (1)
python-keystonemiddleware openSUSE:Tumbleweed | All versions | 10.12.0-2.1 |
How do I fix CVE-2026-22797?
Upgrade to a fixed version.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-22797 being exploited?
There is no known exploitation of CVE-2026-22797 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-22797, DSA-6104-1, GHSA-4428-9rh9-r27g, UBUNTU-CVE-2026-22797, USN-8008-1, openSUSE-SU-2026:10070-1.