CVE-2026-42999
published medium CVSS 3.1 · 6.0openstack-keystone: OpenStack Keystone: Unauthorized access and privilege escalation via arbitrary policy attribute injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenStack | — | Keystone14.0.0 to < 27.0.2 · 28.0.0 to < 28.0.2 · 29.0.0 to < 29.0.2 · Other versions: unaffected | Affected | Not stated | mitre |
| Red Hat | — | openstack-keystoneRed Hat OpenStack Platform 13 (Queens) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhosp13/openstack-keystoneRed Hat OpenStack Platform 13 (Queens) | Affected | Not stated | redhat-SADP |
| Red Hat | — | openstack-keystoneRed Hat OpenStack Platform 16.2 | Affected | Not stated | redhat-SADP |
| Debian | bookworm | keystone | Advisory build | 2:22.0.2-0+deb12u3 | DSA-6331-1 |
| Ubuntu | jammy | keystone | Advisory build | 2:21.0.1-0ubuntu2.4 | USN-8433-1 |
| Debian | bullseye | keystone | Advisory build | 2:18.1.0-1+deb11u3 | DLA-4611-1 |
| Debian | trixie | keystone | Advisory build | 2:27.0.0-3+deb13u4 | DSA-6331-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhosp-rhel8/openstack-keystoneRed Hat OpenStack Platform 16.2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | openstack-keystoneRed Hat OpenStack Platform 17.1 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhosp-rhel9/openstack-keystoneRed Hat OpenStack Platform 17.1 | Affected | Not stated | redhat-SADP |
| Red Hat | — | openstack-keystoneRed Hat OpenStack Platform 18.0 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoso/openstack-keystone-rhel9Red Hat OpenStack Platform 18.0 | Affected | Not stated | redhat-SADP |
| Ubuntu | jammy | keystone-common | Advisory build | 2:21.0.1-0ubuntu2.4 | USN-8433-1 |
| Ubuntu | jammy | python3-keystone | Advisory build | 2:21.0.1-0ubuntu2.4 | USN-8433-1 |
| Ubuntu | noble | keystone | Advisory build | 2:25.0.0-0ubuntu1.4 | USN-8433-1 |
| Ubuntu | noble | keystone-common | Advisory build | 2:25.0.0-0ubuntu1.4 | USN-8433-1 |
| Ubuntu | noble | python3-keystone | Advisory build | 2:25.0.0-0ubuntu1.4 | USN-8433-1 |
| Ubuntu | questing | keystone | Advisory build | 2:28.0.0-0ubuntu1.3 | USN-8433-1 |
| Ubuntu | questing | keystone-common | Advisory build | 2:28.0.0-0ubuntu1.3 | USN-8433-1 |
| Ubuntu | questing | python3-keystone | Advisory build | 2:28.0.0-0ubuntu1.3 | USN-8433-1 |
| Ubuntu | resolute | keystone | Advisory build | 2:29.0.0-0ubuntu1.2 | USN-8433-1 |
| Ubuntu | resolute | keystone-common | Advisory build | 2:29.0.0-0ubuntu1.2 | USN-8433-1 |
| Ubuntu | resolute | python3-keystone | Advisory build | 2:29.0.0-0ubuntu1.2 | USN-8433-1 |
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).
A flaw was found in OpenStack Keystone. This vulnerability allows an authenticated user to bypass Role-Based Access Control (RBAC) checks by injecting arbitrary policy target attributes into the request body. This enables the user to perform unauthorized operations on resources belonging to other users or projects. The issue stems from the Keystone RBAC policy enforcer unconditionally merging the raw JSON request body into its policy enforcement dictionary, which overwrites trusted data.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.3 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenStack | Keystone | 14.0.0 to < 27.0.2 (affected · semver)28.0.0 to < 28.0.2 (affected · semver)29.0.0 to < 29.0.2 (affected · semver)Default: unaffected | mitre · cna |
| Red Hat | Red Hat OpenStack Platform 13 (Queens) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenStack Platform 13 (Queens) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenStack Platform 16.2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenStack Platform 16.2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenStack Platform 17.1 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenStack Platform 17.1 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenStack Platform 18.0 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenStack Platform 18.0 | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-863 CWE-863 Incorrect Authorization
- CWE-639 Authorization Bypass Through User-Controlled Key
References
5Provider assertions
3mitre · cna
redhat-SADP · adp
openstack-keystone: OpenStack Keystone: Unauthorized access and privilege escalation via arbitrary policy attribute injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a7be81aa52a9bdfadbcb730525d6f0945a455d98cd70ebad1d9d189363f75937
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record