CVE-2026-42999: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-42999 is an authorization bypass vulnerability in OpenStack Keystone's RBAC policy enforcer that allows any authenticated user to inject arbitrary policy target attributes via the JSON request body to bypass access controls. The flaw was introduced in commit 5ea59f52 (Rocky/14.0.0) and affects Keystone versions 14.0.0 through 27.0.1, 28.0.0 through 28.0.1, and 29.0.0 through 29.0.1. It was published on May 28, 2026, with patches released the same day. The NVD assigns a CVSS v3.1 base score of 8.8 (High), while the GitHub Advisory Database scores it 6.0 (Moderate) using a different vector (GitHub Advisory, OpenStack OSSA).

Technical details

The root cause is CWE-863 (Incorrect Authorization): the enforce_call function in Keystone's RBAC policy enforcer calls policy_dict.update(json_input.copy()), unconditionally merging the raw JSON request body into the policy enforcement dictionary and overwriting trusted target data previously populated from database lookups. Because flask.request.get_json is invoked with force=True, the body is parsed regardless of the HTTP Content-Type header or HTTP method, meaning any request — including GET requests — can carry a malicious JSON payload. An attacker can craft a request body containing spoofed attributes such as user_id or project_id to make the policy enforcer evaluate permissions as if the request originated from a different user or project (GitHub Advisory, Launchpad Bug).

Impact

Successful exploitation allows any authenticated user to perform unauthorized operations on resources belonging to other users or projects within the OpenStack environment, including reading, modifying, or deleting those resources. This results in high confidentiality, integrity, and availability impact against affected resources, as an attacker can effectively impersonate other users or assume project-level privileges without proper authorization. In multi-tenant cloud environments, this could enable cross-tenant data access and resource manipulation, significantly undermining the isolation guarantees of the platform (GitHub Advisory, OpenStack OSSA).

Exploitability

No confirmed public exploit code or in-the-wild exploitation has been observed as of the time of reporting. The Feedly threat intelligence data classifies the referenced Launchpad bug as an advisory rather than a functional exploit, and notes no evidence of active exploitation. The EPSS score is approximately 0.034% (low probability of exploitation within 30 days), and the vulnerability does not appear in the CISA KEV catalog. Exploitation requires valid credentials (low privileges), but no user interaction or special configuration, making it straightforward for any authenticated cloud tenant to attempt (GitHub Advisory, Launchpad Bug).

Exploitation steps

  1. Authenticate: Obtain valid credentials for any user account on the target OpenStack deployment and acquire a Keystone authentication token via the Identity API (e.g., POST /v3/auth/tokens).
  2. Identify a target resource: Enumerate resources (e.g., users, projects, volumes) belonging to other users or projects using standard OpenStack API calls to identify a target user_id or project_id.
  3. Craft a malicious request: Construct an API request to a Keystone-protected endpoint (e.g., GET /v3/users/{target_user_id} or a resource modification endpoint) and include a JSON body containing spoofed policy attributes, such as {"user_id": "<target_user_id>", "project_id": "<target_project_id>"}.
  4. Bypass RBAC enforcement: Submit the request with the crafted JSON body. Because flask.request.get_json(force=True) parses the body unconditionally and policy_dict.update(json_input.copy()) overwrites the trusted database-sourced values, the policy enforcer evaluates the request using the attacker-supplied attributes.
  5. Perform unauthorized operations: With RBAC checks bypassed, access or modify the target resource as if operating with the target user's or project's identity, achieving cross-tenant data access or privilege escalation (GitHub Advisory, OpenStack OSSA).

Indicators of compromise

  • Network: Unusual API requests to Keystone endpoints (e.g., /v3/users/, /v3/projects/) from authenticated users accessing resources outside their own project or user scope; requests with a JSON body on HTTP methods that do not typically carry a body (e.g., GET, DELETE).
  • Logs: Keystone access logs showing a single user token accessing resources belonging to multiple different project_id or user_id values in rapid succession; policy enforcement log entries where the evaluated user_id or project_id differs from the authenticated token's identity.
  • Application: Keystone audit events (if Oslo policy audit logging is enabled) showing policy decisions made with target attributes that do not match the authenticated user's database record; unexpected successful authorization for cross-project or cross-user resource access.

Mitigation and workarounds

OpenStack has released patched versions addressing this vulnerability: 27.0.2 (for the 27.x branch), 28.0.2 (for the 28.x branch), and 29.0.2 (for the 29.x branch). Operators should upgrade to the appropriate patched release as the primary remediation. As interim mitigations, implement network-level controls to restrict access to Keystone APIs to trusted networks and authenticated management systems only, and enable audit logging of policy enforcement decisions to detect anomalous cross-user or cross-project access patterns (OpenStack OSSA, Launchpad Bug).

Community reactions

The vulnerability was discussed on the oss-security mailing list shortly after disclosure, and a Bluesky post from the infosec community noted the issue. Debian issued a security update for its packaged version of Keystone, and the YAOOK OpenStack operator project published commits to address the vulnerability in their deployment tooling. Tenable released Nessus detection plugins (IDs 318131 and 319887) to identify vulnerable Keystone installations (oss-security, Debian LTS, Tenable).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

keystone: 2:22.0.2-0+deb12u3

Fixed

sid

keystone: 2:29.0.1-2

Fixed

trixie

keystone: 2:27.0.0-3+deb13u4

Fixed

Ubuntu

Fixed

bionic (esm-infra)

keystone

Unknown

devel

keystone

Not Affected

focal (esm-infra)

keystone

Unknown

jammy

keystone: 2:21.0.1-0ubuntu2.4

Fixed

noble

keystone: 2:25.0.0-0ubuntu1.4

Fixed

questing

keystone: 2:28.0.0-0ubuntu1.3

Fixed

resolute

keystone: 2:29.0.0-0ubuntu1.2

Fixed

xenial (esm-infra-legacy)

keystone

Unknown

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-123634CRITICAL9.2
  • NGINX logoNGINX
  • nginx:1.24::nginx
NoYesNov 18, 2026
CVE-2026-123633CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-js-challenge
NoYesNov 18, 2026
CVE-2026-123007CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-mail
NoYesNov 18, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx-debugsource
NoYesNov 18, 2026
CVE-2026-123640MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-vts-debuginfo
NoYesNov 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management