OpenStack Keystone
CVE-2026-42999
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with any tenant account
-
DeliveryCraft API request with injected user_id/project_id in JSON body
-
ExploitKeystone merges body over trusted target in enforce_call
-
ExecutionRBAC check passes against attacker values
-
ImpactPerform unauthorized cross-tenant operation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated Keystone account (PR:L) - any tenant user suffices, with no admin role needed - and network reachability to the Keystone API (AV:N). The concrete trigger is supplying a JSON request body containing policy target attributes (e.g., user_id, project_id) on a call routed through enforce_call; because flask.request.get_json is invoked with force=True, this works on any HTTP method and regardless of Content-Type, removing the usual constraint that the request be a POST/PUT with application/json. The affected code is present in any Keystone build from Rocky/14.0.0 up to (but not including) 29.0.2, so a vulnerable version is the only deployment prerequisite; no special non-default feature flag is required. Limiting factors: the attacker must already hold credentials and must know or guess valid target identifiers (e.g., a victim's project_id) for the specific operation, which is why CISA rates the issue Automatable: no. |
| Impact | Signals are partially conflicting and warrant nuance. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) indicates a network-reachable, low-complexity bug requiring only low privileges (any authenticated user) with high impact to confidentiality, integrity, and availability - a serious profile because authenticated access in a multi-tenant cloud is the normal state, not a barrier. Counterbalancing this, EPSS is only 0.03% (10th percentile), CISA SSVC scores Exploitation: none, Automatable: no, Technical Impact: partial, and there is no KEV listing and no public exploit identified at time of analysis. The low EPSS and 'Automatable: no' likely reflect that exploitation is context-specific (the attacker must know or guess valid target identifiers and craft requests per operation) rather than a mass-scannable internet flaw. Net assessment: this is a genuine priority for any organization running multi-tenant OpenStack because the privilege bar is minimal and impact is cross-tenant, but it is not an opportunistic, worm-like threat - patch promptly, especially on shared/public clouds, while recognizing exploitation is targeted rather than widespread. |
| Exploit ScenarioDerived | A legitimate low-privileged tenant user in a multi-tenant OpenStack cloud sends an otherwise normal Keystone API request but adds attacker-chosen fields such as "project_id" or "user_id" of a victim into the JSON body. Because Keystone merges that body over the trusted target during policy enforcement, the RBAC check evaluates against the injected values and authorizes the action, letting the attacker read or modify another tenant's resources. No public exploit code is identified at time of analysis, but the technique is straightforward to reproduce given the network attack vector and low complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv4 – Jun 30, 2026
Authorization bypass in OpenStack Keystone before 29.0.2 lets any authenticated user override trusted RBAC policy targets by injecting attributes like user_id or project_id into the JSON request body. The enforce_call routine unconditionally merges the raw request body over database-derived target data, so low-privileged users can perform operations on resources owned by other users or projects. No public exploit is identified at time of analysis and EPSS exploitation probability is very low (0.03%), but the flaw is trivially exploitable by any account and a vendor patch is available.
Earlier versions of this analysis (3)
Authorization bypass in OpenStack Keystone before 29.0.2 lets any authenticated user override trusted RBAC target attributes by injecting fields into the request body. The enforcer's enforce_call merges the raw JSON body over database-derived target data, so a user can spoof user_id/project_id values to act on other tenants' resources. No public exploit identified at time of analysis, and EPSS exploitation probability is very low (0.03%), but the defect is trivially triggerable by any valid account.
Privilege escalation and RBAC bypass in OpenStack Keystone before 29.0.2 lets any authenticated user override trusted policy target attributes by injecting fields like user_id or project_id into the JSON request body, which the enforce_call routine blindly merges over database-derived targets. Because the request body is parsed with force=True, the injection works on any HTTP method or Content-Type, enabling unauthorized actions against other users' and projects' resources. No public exploit has been identified at time of analysis and EPSS is very low (0.03%), but the flaw is trivially exploitable by any valid account holder and has a vendor patch available.
RBAC authorization bypass in OpenStack Keystone allows any authenticated low-privilege user to inject arbitrary policy target attributes into the policy enforcement context, overwriting database-verified identity data and impersonating other users or projects. Affected deployments span Rocky (14.0.0) through all versions prior to 29.0.2, a roughly eight-year window introduced by commit 5ea59f52. No public exploit code or CISA KEV listing exists at time of analysis, but the network-exploitable, changed-scope nature of the flaw makes it a meaningful risk in multi-tenant OpenStack environments.
RemediationAI
Vendor-released patch: upgrade OpenStack Keystone to 29.0.2 or later, which corrects enforce_call so the untrusted request body no longer overwrites database-derived policy targets. Distribution users should apply their packaged fixes - Ubuntu via USN-8433-1 (https://ubuntu.com/security/notices/USN-8433-1) and Red Hat per the advisory at https://access.redhat.com/security/cve/CVE-2026-42999 - and consult OSSA-2026-015 (https://security.openstack.org/ossa/OSSA-2026-015.html) for backport guidance to older supported branches (the bug reaches back to Rocky/14.0.0). If immediate patching is impossible, compensating controls are limited because the flaw is in the core enforcement path: place Keystone behind an API gateway or WSGI middleware that strips or rejects JSON request bodies on GET/DELETE and other methods that should not carry payloads (trade-off: may break clients that rely on Keystone's force=True parsing), tighten and monitor API audit logs for requests where body-supplied user_id/project_id differs from the token scope, and restrict API exposure to trusted networks to reduce the authenticated attacker population (trade-off: does not stop a legitimate-but-malicious tenant). These are stopgaps only - upgrading to 29.0.2 is the sole complete fix.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keystone is the centralized identity and authorization service for OpenStack, and its policy enforcer (oslo.policy / RBAC layer) is the gatekeeper for nearly every API operation across the cloud. The root cause is a CWE-863 incorrect authorization: in enforce_call, the code executes policy_dict.update(json_input.copy()), merging the attacker-controlled request body into the policy enforcement dictionary AFTER trusted target attributes were populated from database lookups, allowing the untrusted values to win. Because flask.request.get_json is called with force=True, the body is parsed and merged regardless of Content-Type header or HTTP method, widening the trigger surface. The affected component is cpe:2.3:a:openstack:keystone, written in Python, and the defect was introduced in commit 5ea59f52 dating back to the Rocky/14.0.0 release, meaning a long span of releases is impacted.
Know when Openstack gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Any authenticated user (PR:L) can reach the network API (AV:N) and trivially inject target attributes (AC:L), enabling cross-tenant read, modify, and delete (C/I/A:H).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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).
Executive ViewAI
An authorization bypass vulnerability in OpenStack Keystone (CVE-2026-42999, CVSS 8.8) permits any authenticated user to access and modify resources belonging to other users or projects by injecting parameter values into API requests. No public exploit has been identified at time of analysis, but the flaw is trivially exploitable by any account holder, directly undermining multi-tenant isolation and exposing customer data. Organizations running Keystone versions before 29.0.2 should prioritize immediate patching to restore trust boundaries and regulatory compliance.
Apply vendor patch: OpenStack Keystone 29.0.2. If immediate patching is not feasible, restrict API access to Keystone to trusted networks and audit all authenticated sessions for anomalous cross-tenant requests; however, this does not eliminate the vulnerability and must be paired with a firm patch timeline.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)NVD
Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.2
Eval injection vulnerability in the create method in the Bookmarks controller in Foreman before 1.2.0-RC2 allows remote
The create method in app/controllers/users_controller.rb in Foreman before 1.2.0-RC2 allows remote authenticated users w
Systems with microprocessors utilizing speculative execution and speculative execution of memory reads before the addres
The Floppy Disk Controller (FDC) in QEMU, as used in Xen 4.5.x and earlier and KVM, allows local guest users to cause a
Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10,
The IPTables firewall in OpenStack Neutron before 7.0.4 and 8.0.0 through 8.1.0 allows remote attackers to bypass an int
An issue in OpenStack magnum yoga-eom version allows a remote attacker to execute arbitrary code via the cert_manager.py
An Integer Overflow issue was discovered in the struct library in the Lua subsystem in Redis before 3.2.12, 4.x before 4
glibc contains a vulnerability that allows specially crafted LD_LIBRARY_PATH values to manipulate the heap/stack, causin
Buffer overflow in the pcnet_receive function in hw/net/pcnet.c in QEMU, when a guest NIC has a larger MTU, allows remot
Code injection in OpenStack Vitrage query parser allows authenticated users to execute arbitrary Python code through cra
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB