# 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…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.95% (percentile 60, 2026-11-26)
- **CWE:** CWE-290
- **Published:** 2026-01-19T00:00:00.000Z
- **Modified:** 2026-09-10T13:17:43.557Z

## 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

## 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

- OpenStack keystonemiddleware: \>= 10.5.0, \< 10.7.2; \>= 10.8.0, \< 10.9.1; \>= 10.10.0, \< 10.12.1 (cvelist)

## Mitigation

- Upgrade keystonemiddleware to 10.12.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:5907>
- vendor: <https://access.redhat.com/errata/RHSA-2026:5133>
- vendor: <https://access.redhat.com/errata/RHSA-2026:4434>
- vendor: <https://access.redhat.com/errata/RHSA-2026:3855>
- vendor: <https://access.redhat.com/errata/RHSA-2026:3402>
- other: <https://launchpad.net/bugs/2129018>
- other: <https://www.openwall.com/lists/oss-security/2026/01/16/9>
- other: <http://www.openwall.com/lists/oss-security/2026/01/15/1>
- other: <http://www.openwall.com/lists/oss-security/2026/01/16/2>
- other: <http://www.openwall.com/lists/oss-security/2026/01/16/3>
- other: <http://www.openwall.com/lists/oss-security/2026/01/16/9>
- other: <https://access.redhat.com/security/cve/CVE-2026-22797>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2430879>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22797.json>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-22797>

HTML: <https://flawdb.com/CVE-2026-22797> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-22797>
