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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
OpenStack keystonemiddleware
Default version status: unaffected
10.5.0 to < 10.7.2affected10.8.0 to < 10.9.1affected10.10.0 to < 10.12.1affected
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 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2430879 ↗
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22797.json ↗
- https://access.redhat.com/errata/RHSA-2026:5907 ↗
- https://access.redhat.com/errata/RHSA-2026:5133 ↗
- https://access.redhat.com/errata/RHSA-2026:4434 ↗
- https://access.redhat.com/errata/RHSA-2026:3855 ↗
- https://access.redhat.com/errata/RHSA-2026:3402 ↗