CVE-2026-22797: [CVE-2026-22797] OpenStack keystonemiddlewaPrivilege Escalation via Identity Headers in External OAuth2 Tokens (CVE-2026-22797)

Published Jan 15, 2026
·
Updated

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

1 affected component
pypi/keystonemiddleware>=10.5<10.7.2, <10.9.1, >=10.10<10.12.1

Event History

Jan 19, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·06:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-22797?

CVE-2026-22797 has a high severity level due to its potential for privilege escalation.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203