CVE-2026-131922

Description

A denial of service vulnerability was found in OpenStack keystonemiddleware. The code that checks restricted application credentials against incoming API requests converts a user-supplied access-rule path pattern into a regular expression without limiting its complexity. An authenticated user can create an application credential with a specially crafted access-rule path and then send a request that triggers evaluation of that pattern. Due to the way the regular expression is constructed, evaluating it against a crafted request path can take an extremely long time, consuming excessive CPU in the service that is validating the token. This can make the affected OpenStack service unresponsive to other users.

Statement

This vulnerability is rated as Moderate because a low-privileged authenticated user who can create application credentials with access_rules may trigger catastrophic regex backtracking in keystonemiddleware access_rules path matching, exhausting CPU and availability in the OpenStack API worker that validates the request. Red Hat OpenStack Platform and Red Hat OpenShift ship python-keystonemiddleware in multiple product streams. Per-stream affectedness will be confirmed against upstream fixed versions before public disclosure. There is no supported configuration-only complete fix; apply updated python-keystonemiddleware when available.

Mitigation

Until a patched keystonemiddleware is deployed, reduce exposure by restricting which users may create application credentials with access_rules via Keystone policy, and configure request-processing timeouts on OpenStack API services so a single slow regex evaluation cannot block a worker indefinitely. Neither measure closes the underlying flaw.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.3N/A4.3
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactLowN/ALow

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

cve.org: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU)

Attackers can create crafted inputs that intentionally cause the regular expression to use excessive backtracking in a way that causes the CPU consumption to spike.

Frequently Asked Questions

Want to get errata notifications? Sign up here.