REDHAT-BUG-2517801: High severity Openstack Keystone vulnerability

Published Aug 18, 2026
·
Updated

OpenStack Keystone provides authentication, authorization, and service discovery for OpenStack. Grzegorz Grasza (Red Hat) and Tim Shephard (roiai.ca) independently identified that Keystone does not consistently enforce scope restrictions on tokens obtained via delegated authentication methods (ec2credential, application credential, OAuth1 access tokens).

This flaw covers Launchpad #2153453 (delegation bypass in trust, OAuth1, and application credential operations). In keystone/api/trusts.py, checkapplicationcredential() only checked for 'applicationcredential' in token.methods, allowing EC2 credential tokens (methods: ['ec2credential']) and OAuth1 tokens (methods: ['oauth1']) to perform trust CRUD operations. Similarly, blockdelegatedtokenappcreds() in keystone/api/users.py only checked trustid and accesstokenid attributes, allowing EC2 tokens to manage application credentials. AuthorizeResource.put in keystone/api/osoauth1.py checked ctx.isdelegatedauth and 'applicationcredential' in methods, but EC2 tokens set neither flag. Trust role validation in gettrustorroles() checks the trustor's full role assignments rather than the token's scoped roles, enabling role escalation.

An attacker with a limited-scope EC2 or OAuth1 credential can create trusts that delegate the user's full role set, create persistent application credentials, and authorize new OAuth1 delegations. Those derived credentials survive revocation of the original delegated credential.

Upstream affected range: Keystone >=13.0.0 through unfixed 27.x, 28.x, and 29.x releases. Proposed patches use a PRIMARYAUTHMETHODS allowlist and reject tokens whose methods are not entirely in that set. On current master, a separate middleware guard in authcontext.py globally rejects EC2 credential tokens from API authorization, but that guard is not present on stable branches.

CVE IDs have been requested by the OpenStack Vulnerability Management Team and are not yet assigned (CVE-2026-pending). Reporter: Grzegorz Grasza (Red Hat) and Tim Shephard (roiai.ca). Coordinated by Goutham Pacha Ravi, OpenStack VMT. Private Launchpad report: https://launchpad.net/bugs/2153453 PSIRT Ticket: PSIRTSUPT-21454

Affected Software

1 affected component
Openstack Keystone>=13.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Enforce a _PRIMARY_AUTH_METHODS allowlist and reject tokens whose authentication methods are not entirely within that set.

Event History

Aug 18, 2026
Data Sourced
via Red Hat·12:11 PM
DescriptionSeverityAffected Software

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