CVE-2026-42999
HIGH 8.8CVSS 3.1OpenStack Keystone has an Authorization Bypass
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).
- Published
- 28 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-639CWE-863
- Also known as
- GHSA-2r23-2g6v-2m5fPYSEC-2026-600
- Sources
- NVDJSONOSV GHSA-2r23-2g6v-2m5fJSONOSV PYSEC-2026-600JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openstack | keystonecpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:* |
>= 14.0.0, < 27.0.2 | 27.0.2 |
| NVD | openstack | keystonecpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:* |
>= 28.0.0, < 28.0.2 | 28.0.2 |
| NVD | openstack | keystonecpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:* |
>= 29.0.0, < 29.0.2 | 29.0.2 |
| OSV | PyPI | keystone | >= 14.0.0, < 27.0.2 | 27.0.2 |
| OSV | PyPI | keystone | >= 28.0.0, < 28.0.2 | 28.0.2 |
| OSV | PyPI | keystone | >= 29.0.0, < 29.0.2 | 29.0.2 |
| OSV | PyPI | keystone | >= 14.0.0, < 27.0.2; >= 28.0.0, < 28.0.2; >= 29.0.0, < 29.0.2 | 27.0.2, 28.0.2, 29.0.2 |
References
- https://bugs.launchpad.net/keystone/+bug/2148398 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, FIX
- https://security.openstack.org/ossa/OSSA-2026-015.html · Patch, Vendor Advisory, WEB, FIX
- https://access.redhat.com/security/cve/CVE-2026-42999 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2482840 · WEB, REPORT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42999.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42999 · ADVISORY
- https://github.com/openstack/keystone · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2026-600.yaml · WEB
- https://github.com/advisories/GHSA-2r23-2g6v-2m5f · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 28 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 May 2026)