{"id":"CVE-2026-42999","published":"2026-05-28T00:00:00Z","modified":"2026-07-24T12:05:37Z","title":"An issue was discovered in OpenStack Keystone before 29.0.2","vendor":"OpenStack","product":"Keystone","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00329,"percentile":0.26745,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://bugs.launchpad.net/keystone/+bug/2148398","tags":[]},{"url":"https://security.openstack.org/ossa/OSSA-2026-015.html","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-42999","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2482840","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42999.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":5.35},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"openstack","affectedVersions":[{"vendor":"OpenStack","product":"Keystone","versions":[">= 14.0.0, < 27.0.2",">= 28.0.0, < 28.0.2",">= 29.0.0, < 29.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-28T19:42:13.282324Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"keystone","vulnerableRanges":[">=14.0.0, <27.0.2",">=28.0.0, <28.0.2",">=29.0.0, <29.0.2"],"patched":["27.0.2","28.0.2","29.0.2"],"from":["GHSA-2r23-2g6v-2m5f","PYSEC-2026-600"],"provenance":"source"}],"summary":{"text":"The flaw is in OpenStack Keystone's RBAC policy enforcer (the enforce_call function), where the raw JSON request body is merged into the policy enforcement dictionary, overwriting trusted target data that was set from database lookups. An attacker who holds any authenticated account can exploit this by injecting target attributes such as user_id or project_id into the request body, regardless of Content-Type or HTTP method, to bypass authorization checks and act on resources belonging to other users or projects.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:48Z"},"euvd":{"id":"EUVD-2026-33241","exploited":false,"provenance":"source"}}