{"id":"CVE-2026-42999","aliases":["CVE-2026-42999","GHSA-2r23-2g6v-2m5f","PYSEC-2026-600"],"related":[],"kind":"vulnerability","state":"published","title":"OpenStack Keystone has an Authorization Bypass","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en OpenStack Keystone antes de la versión 29.0.2. El aplicador de políticas RBAC de Keystone en enforce_call fusiona incondicionalmente el cuerpo de la solicitud JSON en bruto en el diccionario de aplicación de políticas a través de policy_dict.update(json_input.copy()), sobrescribiendo datos de destino confiables que se habían establecido previamente a partir de búsquedas en la base de datos. Debido a que flask.request.get_json se llama con force=True, esto funciona independientemente del Content-Type o del método HTTP. Cualquier usuario autenticado puede inyectar atributos de destino de política arbitrarios (por ejemplo, user_id, project_id) en el cuerpo de la solicitud para eludir las comprobaciones RBAC y realizar operaciones no autorizadas en recursos que pertenecen a otros usuarios o proyectos. Esto se introdujo en el commit 5ea59f52 (Rocky/14.0.0).","source":"nvd"}],"published":"2026-05-28T00:00:00.000Z","modified":"2026-10-26T13:10:00.140Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","score":6,"rating":"MEDIUM"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","score":6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-639","CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"14.0.0","fixed":"27.0.2","status":"affected"},{"type":"semver","introduced":"28.0.0","fixed":"28.0.2","status":"affected"},{"type":"semver","introduced":"29.0.0","fixed":"29.0.2","status":"affected"}],"vendor":"OpenStack","product":"Keystone","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","package":"openstack-keystone","cpe":"cpe:/a:redhat:openstack:13","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","package":"rhosp13/openstack-keystone","cpe":"cpe:/a:redhat:openstack:13","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.2","package":"openstack-keystone","cpe":"cpe:/a:redhat:openstack:16.2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.2","package":"rhosp-rhel8/openstack-keystone","cpe":"cpe:/a:redhat:openstack:16.2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 17.1","package":"openstack-keystone","cpe":"cpe:/a:redhat:openstack:17.1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 17.1","package":"rhosp-rhel9/openstack-keystone","cpe":"cpe:/a:redhat:openstack:17.1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 18.0","package":"openstack-keystone","cpe":"cpe:/a:redhat:openstack:18.0","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 18.0","package":"rhoso/openstack-keystone-rhel9","cpe":"cpe:/a:redhat:openstack:18.0","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"14.0.0","status":"affected","fixed":"27.0.2"}],"ecosystem":"PyPI","package":"keystone","purl":"pkg:pypi/keystone","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"28.0.0","status":"affected","fixed":"28.0.2"}],"ecosystem":"PyPI","package":"keystone","purl":"pkg:pypi/keystone","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"29.0.0","status":"affected","fixed":"29.0.2"}],"ecosystem":"PyPI","package":"keystone","purl":"pkg:pypi/keystone","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"14.0.0","fixed":"27.0.2"},{"status":"affected","introduced":"28.0.0","fixed":"28.0.2"},{"status":"affected","introduced":"29.0.0","fixed":"29.0.2"}],"vendor":"openstack","product":"keystone","cpe":"cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"14.0.0","status":"affected","fixed":"27.0.2"},{"type":"ecosystem","introduced":"28.0.0","status":"affected","fixed":"28.0.2"},{"type":"ecosystem","introduced":"29.0.0","status":"affected","fixed":"29.0.2"}],"ecosystem":"PyPI","package":"keystone","purl":"pkg:pypi/keystone","source":"pysec"}],"references":[{"url":"https://bugs.launchpad.net/keystone/+bug/2148398","tags":["exploit","fix","issue-tracking","patch","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://security.openstack.org/ossa/OSSA-2026-015.html","tags":["fix","patch","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-42999","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2482840","tags":["issue-tracking","report","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42999.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42999","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openstack/keystone","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2026-600.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-2r23-2g6v-2m5f","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-28T19:42:13.282Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42999","url":"https://www.cve.org/CVERecord?id=CVE-2026-42999","licence":"CVE Terms of Use","modified":"2026-07-24T12:05:37.538Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2r23-2g6v-2m5f","url":"https://github.com/advisories/GHSA-2r23-2g6v-2m5f","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:04.100Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42999","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42999","licence":"Public domain","modified":"2026-10-26T13:10:00.140Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-600","url":"https://osv.dev/vulnerability/PYSEC-2026-600","licence":"CC-BY-4.0","modified":"2026-07-13T16:45:04.870Z"}],"updatedAt":"2026-11-25T22:59:23.001Z","epss":{"score":0.00312,"percentile":0.26005,"date":"2026-12-01T12:00:22.000Z"}}