CVE-2020-12691
Python vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2020-12691) was discovered in OpenStack Keystone versions before 15.0.1 and version 16.0.0. The vulnerability was reported by a researcher named kay and disclosed on May 6, 2020. The issue affects the EC2 credentials API in OpenStack Keystone, which is the identity service component responsible for authentication and authorization (OpenStack OSSA).

Technical details

The vulnerability stems from improper authorization controls in the EC2 credentials API. Any authenticated user could create an EC2 credential for themselves for a project they have a specified role on, and then perform an update to modify the credential's user and project attributes. The vulnerability has a CVSS v3.1 base score of 8.8 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

This vulnerability allows a malicious user to masquerade as another user by modifying credential ownership. Most critically, it potentially allows the attacker to act as an admin on a project that another user has the admin role on, which can effectively grant the attacker global admin privileges. The impact is particularly severe because user IDs and project IDs are often not treated as sensitive information in OpenStack environments (OSS Security).

Exploitability

The vulnerability is exploitable by any authenticated user within the system. While initially thought to require guessing or knowledge of UUIDs (making it harder to exploit), it was later determined that in many OpenStack environments, user and project IDs are readily available or easily obtainable. For example, project admins can list users in their projects, and project IDs are often shared in chats or public repositories (Launchpad Bug).

Mitigation and workarounds

The vulnerability was patched in OpenStack Keystone version 15.0.1. The fix ensures that when updating a credential, the new form of the credential is one the acting user has access to - system admins can change credentials to any user ID or project ID, but regular users may only modify credentials they own. Patches were released for multiple OpenStack branches including Rocky, Stein, Train, Ussuri, and Victoria (OpenStack OSSA).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61539CRITICAL10
  • Python logoPython
  • xinference
NoYesAug 21, 2026
CVE-2026-49360HIGH7.8
  • Python logoPython
  • recce
NoYesAug 21, 2026
CVE-2026-68508HIGH7.8
  • Python logoPython
  • hydra-core
NoYesAug 21, 2026
CVE-2026-43980MEDIUM6.3
  • Python logoPython
  • malla
NoNoAug 21, 2026
CVE-2026-55468MEDIUM4.3
  • Python logoPython
  • wagtail
NoYesAug 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management