Where
-Infinity
0
Severity
4.3
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

In OpenStack keystonemiddleware before 13.0.3, by supplying a maliciou ...

1 / 2
Source: Debian
First published (updated )
Severity
7

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 externaloauth2token 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 externaloauth2token middleware are affected.

First published (updated )

Hi,

On Thu, Jan 15, 2026 at 03:32:46PM +0000, Jeremy Stanley wrote: ==================================================================== OSSA-2026-001: Privilege Escalation via Identity Headers in External OAuth2 Tokens ====================================================================

:Date: January 15, 2026 :CVE: CVE-2026-22797

Affects ~~~~~~~ - Keystonemiddleware: >=10.0.0 <10.7.2, >=10.8.0 <10.9.1, >=10.10.0 <10.12.1 Just a small note here, the range might be adapted to something newer thatn 10.5.0, correct? AFAIU the code was only added in https://github.com/openstack/keystonemiddleware/commit/de15a610e160defb367b224258498727384d10a8 which landed in 10.5.0.

is this correct?

Regards, Salvatore

First published (updated )
Severity
9.9
EPSS
0.11%
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

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 externaloauth2token 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 externaloauth2token middleware are affected.

First published (updated )

==================================================================== OSSA-2026-001: Privilege Escalation via Identity Headers in External OAuth2 Tokens ====================================================================

:Date: January 15, 2026 :CVE: CVE-2026-22797

Affects ~~~~~~~ - Keystonemiddleware: >=10.0.0 <10.7.2, >=10.8.0 <10.9.1, >=10.10.0 <10.12.1

Description ~~~~~~~~~~~ Patches ~~~~~~~ - https://review.opendev.org/973499 (2024.1/caracal) - https://review.opendev.org/973497 (2024.2/dalmatian) - https://review.opendev.org/973496 (2025.1/epoxy) - https://review.opendev.org/973495 (2025.2/flamingo) - https://review.opendev.org/973494 (2026.1/gazpacho)

Credits ~~~~~~~ - Grzegorz Grasza from Red Hat (CVE-2026-22797)

References ~~~~~~~~~~ - https://launchpad.net/bugs/2129018 - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-22797

Notes ~~~~~ - The unmaintained/2024.1 branches will receive no new point releases, but patches for them are provided as a courtesy. - This bug was possible because the middleware only conditionally set certain headers (e.g., X-Is-Admin-Project was only set when the token had admin privileges), leaving spoofed values intact when conditions were not met. - The fix adds a call to removeauthheaders() at the start of request processing to sanitize all incoming identity headers, matching the behavior of the main authtoken middleware. - The externaloauth2token middleware was introduced in keystonemiddleware 10.0.0.

-- Jeremy Stanley OpenStack Vulnerability Management Team https://security.openstack.org/vmt.html

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203