PyPI: keystone

CVE-2020-12691

Safety vulnerability ID: SFTY-20200507-34577

Safety legacy ID: pyup.io-38585

An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any authenticated user can create an EC2 credential for themselves for a project that they have a specified role on, and then perform an update to the credential user and project, allowing them to masquerade as another user. This potentially allows a malicious user to act as the admin on a project another user has the admin role on, which can effectively grant that user global admin privileges.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID

Advisory

An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any authenticated user can create an EC2 credential for themselves for a project that they have a specified role on, and then perform an update to the credential user and project, allowing them to masquerade as another user. This potentially allows a malicious user to act as the admin on a project another user has the admin role on, which can effectively grant that user global admin privileges.

Affected Package

Affecting keystone package, versions<15.0.1>=16.0.0.0rc1,<=16.0.0

Also affects

---

How to Fix

Upgradekeystoneto15.0.116.0.1or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more