CVE-2026-42998
Description
An issue was discovered in OpenStack Keystone before 29.0.2. The Keystone application credential authentication plugin does not verify that the user supplied in the authentication request matches the owner of the application credential. An attacker can authenticate with their own application credential ID and secret while specifying a different user's name and domain in the request body. Keystone issues a token attributed to the victim user. The impersonated token is project-scoped and carries the intersection of the application credential's roles and the victim's actual roles on the project. This enables audit evasion, reading the victim's credentials, and acting as the victim within shared projects.
Weakness
- CWE-863: Incorrect Authorization
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-28 |
Timeline
- 2026-05-28Published by the CNA00:00 UTC
- 2026-05-28GitHub advisory published (GHSA-8f8m-wrvr-wcvf)same day
- 2026-05-28CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-8f8m-wrvr-wcvf, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI keystone | from 14.0.0 before 27.0.2 | 27.0.2 |
| PyPI keystone | from 28.0.0 before 28.0.2 | 28.0.2 |
| PyPI keystone | from 29.0.0 before 29.0.2 | 29.0.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openstack keystone | from 14.0.0 before 27.0.2fixed in 27.0.2from 28.0.0 before 28.0.2fixed in 28.0.2from 29.0.0 before 29.0.2fixed in 29.0.2 | 27.0.228.0.229.0.2 |
References
- https://bugs.launchpad.net/keystone/+bug/2148477
- https://security.openstack.org/ossa/OSSA-2026-015.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42998'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42998'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42998'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42998'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).