Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| OpenStack / keystonemiddleware | affected 10.5.0 before 10.7.2; affected 10.8.0 before 10.9.1; affected 10.10.0 before 10.12.1 |
CWE
CWE-290
References
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.
A flaw was found in OpenStack keystonemiddleware. The external_oauth2_token middleware fails to properly sanitize incoming authentication headers. An authenticated attacker can exploit this by sending forged identity headers, such as X-Is-Admin-Project, X-Roles, or X-User-Id. This can lead to privilege escalation or impersonation of other users within the system.
- 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