KeygraphLabs · CVE MCP

CVE-2012-5571 · redhat

Openstack keystone: openstack keystone: authorization bypass via improper ec2 token handling

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.

Published 2012-12-18, last changed 2026-10-30. Weakness: CWE-639, CWE-255.

CVSS
3.5
low, from NVD
EPSS
2.05%
percentile 81.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: keystone 8.0.0a0 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in openstack/keystone by 37308dd4f3, 8735009dc5, 9d68b40cb9. Functions changed by the fix: authenticate. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2012-12-18Published
2012-12-18Package advisory PYSEC-2012-35
2022-05-17Package advisory GHSA-qvpr-qm6w-6rcc
2026-10-30Record last changed
2026-11-30EPSS when our history starts: 2.05%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-qvpr-qm6w-6rcckeystone (PyPI)8.0.0a0
PYSEC-2012-35 (withdrawn)keystone (PyPI)no fix yet

Also known as: GHSA-qvpr-qm6w-6rcc, PYSEC-2012-35

Related

CVEPublishedCVSSSummary
CVE-2026-443942026-05-288.1same package: keystone (PyPI)
CVE-2026-430002026-05-288.8same package: keystone (PyPI)
CVE-2026-429992026-05-288.8same package: keystone (PyPI)
CVE-2026-429982026-05-288.8same package: keystone (PyPI)
CVE-2026-430012026-05-018same package: keystone (PyPI)
CVE-2026-406832026-04-147.7same package: keystone (PyPI)
CVE-2026-335512026-04-105.3same package: keystone (PyPI)
CVE-2025-650732025-11-177.5same package: keystone (PyPI)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2012-5571, or call /api/v1/vulnerabilities/CVE-2012-5571. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org