Incorrect Authorization Affecting openstack-keystone-2025.1 package, versions <27.0.1_git20260618-r6


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-CHAINGUARDLATEST-OPENSTACKKEYSTONE20251-17816700
  • published4 Jul 2026
  • disclosed28 May 2026

Introduced: 28 May 2026

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

How to fix?

Upgrade Chainguard openstack-keystone-2025.1 to version 27.0.1_git20260618-r6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openstack-keystone-2025.1 package and not the openstack-keystone-2025.1 package as distributed by Chainguard. See How to fix? for Chainguard 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