keystone
Affected
- introduced
14.0.0, fixed27.0.2(ecosystem)
Fixed versions
27.0.2
Fix
- Fixed version
27.0.2pip install --upgrade keystone==27.0.2
Advisory
Also known as: CVE-2026-42999, PYSEC-2026-600
OpenStack 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).
Medium Basis: The source's own band: MODERATE
14.0.0, fixed 27.0.2 (ecosystem)27.0.2
27.0.2pip install --upgrade keystone==27.0.228.0.0, fixed 28.0.2 (ecosystem)28.0.2
28.0.2pip install --upgrade keystone==28.0.229.0.0, fixed 29.0.2 (ecosystem)29.0.2
29.0.2pip install --upgrade keystone==29.0.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0