CVE-2026-137181
Description
A flaw was found in OpenFGA, an authorization management system. When evaluating complex permission models containing logical operations, server-side request timeouts or query cancellations can cause evaluation processes to terminate prematurely and return or cache incorrect results. A remote attacker could leverage this issue to bypass access controls, resulting in unauthorized access to protected resources.
Statement
Red Hat has evaluated this vulnerability as having a Moderate impact because incorrect authorization results occur only under specific edge conditions involving server-side timeouts or client cancellations during evaluation of complex authorization relations. When OpenFGA models utilize logical relations (such as intersections or exclusions) under deadline pressure or when check query caching is enabled, incomplete evaluation branches may return or cache incorrect access decisions. Standard evaluation flows operating without timing deadlines or query cache cancellations remain unaffected.
Mitigation
To reduce exposure to incorrect authorization responses and caching issues:
1. Disable check query caching by setting `--check-query-cache-enabled=false` (or removing `--check-query-cache-enabled` from the service startup parameters).
2. Ensure the ListObjects pipeline is active by running OpenFGA with `--listObjects-pipeline-enabled=true`.
Caveats:
- Disabling the query cache may increase authorization check latency and CPU usage under heavy workload.
- Applying configuration changes requires restarting the OpenFGA service, which will temporarily interrupt service availability.
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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.8 | N/A | N/A |
| Attack Vector | Network | N/A | N/A |
| Attack Complexity | High | N/A | N/A |
| Privileges Required | Low | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | High | N/A | N/A |
| Integrity Impact | High | N/A | N/A |
| Availability Impact | None | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Understanding the Weakness (CWE)
Other
Technical Impact: Alter Execution Logic; Unexpected State
By performing actions in an unexpected order, or by omitting steps, an attacker could manipulate the business logic of the product or cause it to enter an invalid state. In some cases, this can also expose resultant weaknesses with security implications.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.