Advisory

PYSEC-2026-830

Also known as: CVE-2021-38155, GHSA-4225-97pr-rr52

Summary

OpenStack Keystone allows information disclosure during account locking

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-06 08:03 UTC
Modified
2026-07-07 11:45 UTC

Affected packages and fixes

keystone

PyPI · All systems

Affected

  • 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 (ecosystem)

Fixed versions

16.0.2, 17.0.1, 18.0.1, 19.0.1

Fix

  • Fixed version 16.0.2
    pip install --upgrade keystone==16.0.2
  • Fixed version 17.0.1
    pip install --upgrade keystone==17.0.1
  • Fixed version 18.0.1
    pip install --upgrade keystone==18.0.1
  • Fixed version 19.0.1
    pip install --upgrade keystone==19.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences