CVE-2026-42999

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).
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*
cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*
cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*

History

26 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) 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).

30 Jun 2026, 03:19

Type Values Removed Values Added
CWE CWE-639
References
  • () https://access.redhat.com/security/cve/CVE-2026-42999 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2482840 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42999.json -

17 Jun 2026, 10:48

Type Values Removed Values Added
References () https://bugs.launchpad.net/keystone/+bug/2148398 - Exploit, Issue Tracking, Third Party Advisory, Patch () https://bugs.launchpad.net/keystone/+bug/2148398 - Exploit, Issue Tracking, Patch, Third Party Advisory
References () https://security.openstack.org/ossa/OSSA-2026-015.html - Vendor Advisory, Patch () https://security.openstack.org/ossa/OSSA-2026-015.html - Patch, Vendor Advisory

02 Jun 2026, 14:41

Type Values Removed Values Added
First Time Openstack
Openstack keystone
CPE cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*
References () https://bugs.launchpad.net/keystone/+bug/2148398 - () https://bugs.launchpad.net/keystone/+bug/2148398 - Exploit, Issue Tracking, Third Party Advisory, Patch
References () https://security.openstack.org/ossa/OSSA-2026-015.html - () https://security.openstack.org/ossa/OSSA-2026-015.html - Vendor Advisory, Patch

28 May 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-28 19:16

Updated : 2026-10-26 13:10


NVD link : CVE-2026-42999

Mitre link : CVE-2026-42999

CVE.ORG link : CVE-2026-42999


JSON object : View

Products Affected

openstack

  • keystone
CWE
CWE-863

Incorrect Authorization

CWE-639

Authorization Bypass Through User-Controlled Key