OpenStack Keystone EC2 Credential Creation Privilege Escalation Vulnerability

Vulnerability

A vulnerability exists in OpenStack Keystone versions 14 through 26 prior to 26.1.1, as well as in versions 27.0.0, 28.0.0, and 29.0.0. The issue allows restricted application credentials to create EC2 credentials. An authenticated user with only a reader role can use a restricted application credential to call the EC2 credential creation API, thereby obtaining an EC2/S3 credential that includes full access to the user's S3 permissions. This effectively bypasses the role restrictions of the application credential. The vulnerability affects deployments that use restricted application credentials with the EC2/S3 compatibility API (swift3/s3api).

Impact

Exploitation of this vulnerability allows for unauthorized EC2 credential creation, granting full access to the user's S3 buckets and bypassing role restrictions.

Reproduction

To reproduce this vulnerability, create a restricted application credential with a reader role in OpenStack Keystone. Then, use this credential to call the EC2 credential creation API. The created EC2 credential will have full access to the user's S3 permissions, allowing the creation of S3 buckets under the user's account.

Remediation

Users can upgrade to OpenStack Keystone versions 26.1.1, 27.0.1, 28.0.1, or 29.0.1, where this vulnerability has been fixed.

Added: Apr 10, 2026, 3:27 AM
Updated: Apr 10, 2026, 3:27 AM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
5.0
exploitability
6.2
remediation
7.7
relevance
5.6
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.