# CVE-2012-5571: Openstack keystone: openstack keystone: authorization bypass via improper ec2 token handling

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2012-12-18 · Modified: 2026-10-30
- Aliases: GHSA-qvpr-qm6w-6rcc, PYSEC-2012-35, DEBIAN-CVE-2012-5571
- Record: https://cvemate.com/vulnerability/CVE-2012-5571 · JSON: https://cvemate.com/vulnerability/CVE-2012-5571/json

## Description

```text
A flaw was found in OpenStack Keystone. This vulnerability allows remote authenticated users to bypass intended authorization restrictions. This occurs because OpenStack Keystone does not properly handle EC2 (Elastic Compute Cloud) tokens when a user's role has been removed from a tenant. An attacker can leverage a token associated with a removed user role to gain unauthorized access.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 2.047%, percentile 81.87%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian keystone (Debian): \< 2012.1.1-11
- openstack essex: 2012.1
- openstack folsom: 2012.2
- PyPI keystone (PyPI): \< 8.0.0a0 \| \< 9d68b40cb9ea818c48152e6c712ff41586ad9653 \| All versions (No fix recorded)

## References (first 20 of 22)

- <http://lists.fedoraproject.org/pipermail/package-announce/2012-December/094286.html>
- <http://rhn.redhat.com/errata/RHSA-2012-1556.html>
- <http://rhn.redhat.com/errata/RHSA-2012-1557.html>
- <http://secunia.com/advisories/51423>
- <http://secunia.com/advisories/51436>
- <http://www.openwall.com/lists/oss-security/2012/11/28/5>
- <http://www.openwall.com/lists/oss-security/2012/11/28/6>
- <http://www.securityfocus.com/bid/56726>
- <http://www.ubuntu.com/usn/USN-1641-1>
- <https://access.redhat.com/security/cve/CVE-2012-5571>
- <https://bugs.launchpad.net/keystone/+bug/1064914>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/80333>
- <https://github.com/openstack/keystone/commit/37308dd4f3e33f7bd0f71d83fd51734d1870713b>
- <https://github.com/openstack/keystone/commit/8735009dc5b895db265a1cd573f39f4acfca2a19>
- <https://github.com/openstack/keystone/commit/9d68b40cb9ea818c48152e6c712ff41586ad9653>
- <https://nvd.nist.gov/vuln/detail/CVE-2012-5571>
- <https://github.com/openstack/keystone>
- <https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2012-35.yaml>
- <https://github.com/advisories/GHSA-qvpr-qm6w-6rcc>
- <https://security-tracker.debian.org/tracker/CVE-2012-5571>

---

Data as of 2026-12-05T03:30:33.004Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
