MEDIUM4.0
PYSEC-2026-833
OpenStack Keystone does not invalidate existing tokens when granting or revoking roles
Quick fix
PYSEC-2026-833 — keystone: upgrade to the fixed version with the command below.
pip install --upgrade 'keystone>=2012.1.3'Details
OpenStack Keystone before 2012.1.3 does not invalidate existing tokens when granting or revoking roles, which allows remote authenticated users to retain the privileges of the revoked roles.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-4413[ADVISORY]
- https://access.redhat.com/errata/RHSA-2012:1378[WEB]
- https://access.redhat.com/security/cve/CVE-2012-4413[WEB]
- https://bugs.launchpad.net/keystone/+bug/1041396[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=855491[WEB]
- https://exchange.xforce.ibmcloud.com/vulnerabilities/78478[WEB]
- https://opendev.org/openstack/keystone[PACKAGE]
- https://review.opendev.org/c/openstack/keystone/+/12870[WEB]
- https://web.archive.org/web/20121114023848/http://www.securityfocus.com/bid/55524[WEB]
- http://github.com/openstack/keystone/commit/58ac6691a21675be9e2ffb0f84a05fc3cd4d2e2e[WEB]
- http://www.openwall.com/lists/oss-security/2012/09/12/7[WEB]
- http://www.ubuntu.com/usn/USN-1564-1[WEB]
- https://pypi.org/project/keystone[PACKAGE]
- https://github.com/advisories/GHSA-mrxv-65rv-6hxq[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/keystone"]}'