CVE-2026-42999
Description
An issue was discovered in OpenStack Keystone before 29.0.2. The Keystone RBAC policy enforcer in enforce_call unconditionally merges the raw JSON request body into the policy enforcement dictionary via policy_dict.update(json_input.copy()), overwriting trusted target data that was previously set from database lookups. Because flask.request.get_json is called with force=True, this works regardless of Content-Type or HTTP method. Any authenticated user can inject arbitrary policy target attributes (e.g., user_id, project_id) into the request body to bypass RBAC checks and perform unauthorized operations on resources belonging to other users or projects. This was introduced in commit 5ea59f52 (Rocky/14.0.0).
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-2r23-2g6v-2m5f)same day
- 2026-05-28CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-2r23-2g6v-2m5f, 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/2148398
- https://security.openstack.org/ossa/OSSA-2026-015.html
- https://access.redhat.com/security/cve/CVE-2026-42999
- https://bugzilla.redhat.com/show_bug.cgi?id=2482840
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42999.json
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42999'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42999'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42999'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42999'
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).