Authorization Bypass Through User-Controlled Key Affecting openstack-keystone package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.33% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-OPENSTACKKEYSTONE-17174641
  • published5 Jun 2026
  • disclosed28 May 2026

Introduced: 28 May 2026

CVE-2026-42999  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 openstack-keystone.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openstack-keystone package and not the openstack-keystone package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1