CVE-2026-22797: [CVE-2026-22797] OpenStack keystonemiddlewaPrivilege Escalation via Identity Headers in External OAuth2 Tokens (CVE-2026-22797)
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 externaloauth2token 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 externaloauth2token middleware are affected.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-22797?
CVE-2026-22797 has a high severity level due to its potential for privilege escalation.
How do I fix CVE-2026-22797?
To fix CVE-2026-22797, update your OpenStack keystonemiddleware to version 10.7.2 or later, 10.9.1 or later, or 10.12.1 or later.
What versions of OpenStack keystonemiddleware are affected by CVE-2026-22797?
OpenStack keystonemiddleware versions from 10.5 to 10.7, 10.9 before 10.9.1, and from 10.10 to 10.12 before 10.12.1 are affected by CVE-2026-22797.
What is the impact of CVE-2026-22797 on users?
CVE-2026-22797 allows unauthorized users to escalate privileges by exploiting vulnerabilities in external OAuth2 tokens.
Is CVE-2026-22797 a zero-day vulnerability?
No, CVE-2026-22797 is not a zero-day vulnerability as it has been publicly disclosed and patches are available.