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, a…
Mitigation
- Upgrade keystonemiddleware to 10.12.1 or later.
Who should check
- Anyone running OpenStack keystonemiddleware >= 10.5.0, < 10.7.2; >= 10.8.0, < 10.9.1; >= 10.10.0, < 10.12.1
Vulnerability facts
- Affected
- OpenStack keystonemiddleware >= 10.5.0, < 10.7.2; >= 10.8.0, < 10.9.1; >= 10.10.0, < 10.12.1
- Fixed in
- OpenStack keystonemiddleware 10.7.2, OpenStack keystonemiddleware 10.9.1, OpenStack keystonemiddleware 10.12.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 9.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 0.95% chance of exploitation in 30 days (percentile 60, 2026-11-26)
- CWE
- CWE-290
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| OpenStack keystonemiddleware | >= 10.5.0, < 10.7.2; >= 10.8.0, < 10.9.1; >= 10.10.0, < 10.12.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-22797. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-22797.md Affected: OpenStack keystonemiddleware >= 10.5.0, < 10.7.2; >= 10.8.0, < 10.9.1; >= 10.10.0, < 10.12.1 Fixed in: OpenStack keystonemiddleware 10.7.2, OpenStack keystonemiddleware 10.9.1, OpenStack keystonemiddleware 10.12.1 Steps: 1. Search this machine and project for OpenStack keystonemiddleware: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- 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
FAQ
Is CVE-2026-22797 being exploited?
There is no confirmed exploitation: CVE-2026-22797 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.95% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-22797?
Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-22797?
OpenStack keystonemiddleware >= 10.5.0, < 10.7.2; >= 10.8.0, < 10.9.1; >= 10.10.0, < 10.12.1.
Is there a fix for CVE-2026-22797?
Yes. Fixed in OpenStack keystonemiddleware 10.7.2, OpenStack keystonemiddleware 10.9.1, OpenStack keystonemiddleware 10.12.1. Upgrade keystonemiddleware to 10.12.1 or later.
How do I check if I'm affected by CVE-2026-22797?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.