CVE-2026-22797
CVE-2026-22797
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.9 · Critical · EPSS 0.7% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
keystonemiddleware
- Versions
- ≥ 10.5.0, < 10.7.2: Affected (semver)
- ≥ 10.8.0, < 10.9.1: Affected (semver)
- ≥ 10.10.0, < 10.12.1: Affected (semver)
Update to 10.12.1; Update to 10.7.2; Update to 10.9.1
python-keystonemiddleware Debian:13
- Versions
- 10.9.0-2
- Affected ranges
- ECOSYSTEM: < 10.9.0-2+deb13u1
Update to 10.9.0-2+deb13u1
python-keystonemiddleware Debian:14
- Versions
- 10.12.0-1
- 10.12.0-2
- 10.9.0-2
- Affected ranges
- ECOSYSTEM: < 10.12.0-3
Update to 10.12.0-3
python-keystonemiddleware Ubuntu:24.04:LTS
- Versions
- 10.4.1-0ubuntu1
- 10.5.0-0ubuntu1
- 10.5.0-0ubuntu2
- 10.6.0-0ubuntu1
- Affected ranges
- ECOSYSTEM: < 10.6.0-0ubuntu1.1
Update to 10.6.0-0ubuntu1.1
python-keystonemiddleware Ubuntu:25.10
- Versions
- 10.9.0-0ubuntu1
- 10.11.0-0ubuntu1
- 10.12.0-0ubuntu1
- Affected ranges
- ECOSYSTEM: < 10.12.0-0ubuntu1.1
Update to 10.12.0-0ubuntu1.1
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-22797