VDB
Sign up
MEDIUM6.0

PYSEC-2026-649

OpenStack Identity Keystone is vulnerable to Block delegation escalation of privilege

Quick fix

PYSEC-2026-649 — keystone: upgrade to the fixed version with the command below.

pip install --upgrade 'keystone>=8.0.0a0'

Details

OpenStack Identity (Keystone) before 2013.2.4, 2014.1 before 2014.1.2, and Juno before Juno-2 does not properly handle chained delegation, which allows remote authenticated users to gain privileges by leveraging a (1) trust or (2) OAuth token with impersonation enabled to create a new token with additional roles.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/keystone
Introduced in: 0Fixed in: 8.0.0a0
Fixpip install --upgrade 'keystone>=8.0.0a0'

References

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"]}'