Improper authorization in Keystone middleware - CVE-2026-22797

 

Improper authorization in Keystone middleware - CVE-2026-22797

Published: January 19, 2026


Vulnerability identifier: #VU121642
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-22797
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to escalate privileges within the application.

The vulnerability exists due to missing authorization checks in the external_oauth2_token middleware. A remote authenticated user can send forged identity headers such as X-Is-Admin-Project, X-Roles, or X-User-Id and escalate privileges within the application. 


Affected software

Keystone middleware
Debian Linux
Ubuntu
python-keystonemiddleware (Ubuntu package)
python-keystonemiddleware (Debian package)

How to mitigate CVE-2026-22797

Install updates from vendor's website.

Keystone middleware - addressed in versions 10.7.2, 10.9.1, 10.12.1
python-keystonemiddleware (Ubuntu package) - addressed in versions 10.6.0-0ubuntu1.1, 10.12.0-0ubuntu1.1
python-keystonemiddleware (Debian package) - update to 10.9.0-2+deb13u1

External References

Related Security Bulletins