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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenStack | keystonemiddleware | 10.5.0 – < 10.7.2, 10.8.0 – < 10.9.1, 10.10.0 – < 10.12.1 | 10.7.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-keystonemiddleware | 10.12.0-3 | — |
| Debian 13 | python-keystonemiddleware | 10.9.0-2+deb13u1 | DSA-6104-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | python-keystonemiddleware | 10.12.0-0ubuntu1.1 | — |
| Ubuntu 24.04 LTS | python-keystonemiddleware | 10.6.0-0ubuntu1.1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-keystonemiddleware | 10.12.0-2.1 | openSUSE-SU-2026:10070-1 |
Advisories 3
- openSUSE-SU-2026:10070-1 python-keystonemiddleware-doc-10.12.0-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2026-0149 Red Hat OpenStack (keystonemiddleware): Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen und potenziell Privilegieneskalation BSI CERT-Bund (WID) · Mar 18, 2026
- DSA-6104-1 python-keystonemiddleware - security update Debian Security (DSA / DLA) · Jan 20, 2026