# CVE-2021-38155: PYSEC-2026-830 - OpenStack Keystone allows information disclosure during account locking

Source: https://junglewise.ai/threats/cve-2021-38155-openstack-keystone-allows-information-disclosure-during-account  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-06  
License: CC BY 4.0 with a link back

CVE-2021-38155 · Severity: low · CVSS 3.1 · Published 2026-07-06

OpenStack Keystone allows information disclosure during account locking

Technologies: [keystone (PyPI)](https://junglewise.ai/threats/technologies/keystone). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2021-38155 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-38155 being exploited in the wild.

**How severe is CVE-2021-38155?** Low severity, with a CVSS score of 3.1, published 6 July 2026.

**Which products and versions are affected?** keystone (PyPI) ECOSYSTEM:introduced=10.0,fixed=16.0.2, ECOSYSTEM:introduced=10.0,fixed=16.0.2,introduced=17.0,fixed=17.0.1,introduced=18.0,fixed=18.0.1,introduced=19.0,fixed=19.0.1.

**Is there a fix for CVE-2021-38155?** Yes. keystone (PyPI): upgrade to 16.0.2, 19.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-38155?** Check whether you run keystone (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- keystone (PyPI): upgrade to 16.0.2, 19.0.1 or later

  ```sh
  pip install "keystone>=19.0.1"
  ```


## Affected products

- keystone (PyPI) ECOSYSTEM:introduced=10.0,fixed=16.0.2, ECOSYSTEM:introduced=10.0,fixed=16.0.2,introduced=17.0,fixed=17.0.1,introduced=18.0,fixed=18.0.1,introduced=19.0,fixed=19.0.1

## Identifiers

- CVE-2021-38155
- GHSA-4225-97pr-rr52
- PYSEC-2026-830

## Related threats

- [PYSEC-2026-2549 - OpenStack Identity Keystone and keystonemiddleware Insufficiently Protected Credentials](https://junglewise.ai/threats/cve-2015-7546-openstack-identity-keystone-and-keystonemiddleware-insufficiently)
- [PYSEC-2026-831 - OpenStack Identity Keystone Privilege Escalation vulnerability](https://junglewise.ai/threats/cve-2013-4477-openstack-identity-keystone-privilege-escalation-vulnerability)
- [PYSEC-2026-833 - OpenStack Keystone does not invalidate existing tokens when granting or revoking roles](https://junglewise.ai/threats/cve-2012-4413-openstack-keystone-does-not-invalidate-existing-tokens-when)
- [PYSEC-2026-832 - OpenStack Keystone Improper Authentication vulnerability](https://junglewise.ai/threats/cve-2012-4456-openstack-keystone-improper-authentication-vulnerability)
- [PYSEC-2026-834 - OpenStack Keystone Token authorization for a user in a disabled tenant is allowed](https://junglewise.ai/threats/cve-2012-4457-openstack-keystone-token-authorization-for-a-user-in-a-disabled)
