OpenStack Keystone has an Incorrect Authorization issueGHSA-q623-f4j4-p4xj
MEDIUMGHSA-q623-f4j4-p4xj is a medium-severity (CVSS 6) CWE-863 vulnerability in keystone. A fix is available for keystone — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-q623-f4j4-p4xj.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
keystone🐍keystone🐍keystoneReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
An issue was discovered in OpenStack Keystone before 29.0.2. When combined with an application credential impersonation vulnerability, an attacker with the member role on a project can escalate to admin by chaining unrestricted application credentials with Keystone trusts. The impersonated token carries the victim's identity, which passes the trustor validation check. Keystone then validates the delegated roles against the victim's actual role assignments in the database, not the roles on the requesting token. This allows the attacker to create a trust delegating the victim's admin role to themselves. The trust persists independently, and additional trusts and application credentials can be created to maintain access. All actions are logged under the victim's identity.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | keystone | ≥ 14.0.0&&< 27.0.2 | 27.0.2pip install --upgrade 'keystone==27.0.2' |
| 🐍PyPI | keystone | ≥ 28.0.0&&< 28.0.2 | 28.0.2pip install --upgrade 'keystone==28.0.2' |
| 🐍PyPI | keystone | ≥ 29.0.0&&< 29.0.2 | 29.0.2pip install --upgrade 'keystone==29.0.2' |
Affected Products
keystoneopenstackDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for keystone, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update keystone to 27.0.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-q623-f4j4-p4xj is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This IMPORTANT privilege escalation in Keystone allows project members to gain admin access by chaining application credential impersonation with trust exploitation. High complexity is required (multiple vulnerability chain). The scope is changed as the attacker gains persistent admin access affecting other users.…
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenStack Platform 13.0 - ELS | openstack-keystone-1:13.0.4-10.el7ost | RHSA-2026:94039 |
Frequently Asked Questions
Is GHSA-q623-f4j4-p4xj in your dependencies?
Find it across PyPI, including transitive dependencies.