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 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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | python-keystonemiddleware | Fixed | 10.12.0-0ubuntu1.1 | UBUNTU-CVE-2026-22797 |
| Ubuntu 24.04 | python-keystonemiddleware | Fixed | 10.6.0-0ubuntu1.1 | UBUNTU-CVE-2026-22797 |
| Ubuntu 22.04 | python-keystonemiddleware | Not affected vulnerable_code_not_present | ||
| Debian 14 | python-keystonemiddleware | Fixed | 10.12.0-3 | DEBIAN-CVE-2026-22797 |
| Debian 13 | python-keystonemiddleware | Fixed | 10.9.0-2+deb13u1 | DEBIAN-CVE-2026-22797 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenStack keystonemiddleware: affected: 10.5.0 to before 10.7.2, 10.8.0 to before 10.9.1, 10.10.0 to before 10.12.1; fixed in
10.7.2,10.9.1,10.12.1
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.