PYSEC-2026-830
OpenStack Keystone allows information disclosure during account locking
Quick fix
PYSEC-2026-830 — keystone: upgrade to the fixed version with the command below.
pip install --upgrade 'keystone>=16.0.2'Details
OpenStack Keystone 10.x through 16.x before 16.0.2, 17.x before 17.0.1, 18.x before 18.0.1, and 19.x before 19.0.1 allows information disclosure during account locking (related to PCI DSS features). By guessing the name of an account and failing to authenticate multiple times, any unauthenticated actor could both confirm the account exists and obtain that account's corresponding UUID, which might be leveraged for other unrelated attacks. All deployments enabling security_compliance.lockout_failure_attempts are affected.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-38155[ADVISORY]
- https://github.com/openstack/keystone/commit/1b573ae7d1c20e0ebfbde79bbe7538a09589c75d[WEB]
- https://github.com/openstack/keystone/commit/8ab4eb27be4c13c9bab2b3ea700f00a190521bf8[WEB]
- https://github.com/openstack/keystone/commit/ac2631ae33445877094cdae796fbcdce8833a626[WEB]
- https://github.com/openstack/keystone[PACKAGE]
- https://launchpad.net/bugs/1688137[WEB]
- https://lists.debian.org/debian-lts-announce/2024/01/msg00007.html[WEB]
- https://security.openstack.org/ossa/OSSA-2021-003.html[WEB]
- http://www.openwall.com/lists/oss-security/2021/08/10/5[WEB]
- https://pypi.org/project/keystone[PACKAGE]
- https://github.com/advisories/GHSA-4225-97pr-rr52[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"]}'