CVE-2026-137181
JSON

7.1high

OpenFGA: Request timeouts can cause OpenFGA to grant unauthorized access

Severity
7.1high CVSS:4.0 by GitHub_M
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-637h-v79h-mvqf

Description

OpenFGA is an authorization and permission engine built for developers. From 1.10.3 until 1.23.0, Check and BatchCheck requests, and ListObjects and StreamedListObjects requests when --listObjects-pipeline-enabled=false, can return incorrect authorization results when the model uses relations that directly or indirectly include and, or, or but not and a server-side deadline expires before evaluation finishes. When the authorization model contains such a relation and --check-query-cache-enabled is set, cancellation of an unfinished Check by the client, a deadline, or another settled branch can also cache an incorrect result that later requests reuse. This issue is fixed in version 1.23.0.

Affected

Product or packageVersionsReported by
openfga openfga>= 1.10.3, < 1.23.0CVE List
github.com/openfga/openfga (Go)from 1.10.3 before 1.23.0GitHub Advisory Database

All scores

GitHub_M7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

OpenFGA is an authorization and permission engine built for developers. From 1.10.3 until 1.23.0, Check and BatchCheck requests, and ListObjects and StreamedListObjects requests when --listObjects-pipeline-enabled=false, can return incorrect authorization results when the model uses relations that directly or indirectly include and, or, or but not and a server-side deadline expires before evaluation finishes. When the authorization model contains such a relation and --check-query-cache-enabled is set, cancellation of an unfinished Check by the client, a deadline, or another settled branch can also cache an incorrect result that later requests reuse. This issue is fixed in version 1.23.0.

GitHub Advisory Database

In OpenFGA, the Check or BatchCheck APIs, as well as ListObjects or StreamedListObjects with --listObjects-pipeline-enabled=false, could return incorrect results.

Preconditions

This applies if all of the following are true:

  1. An application uses Check, BatchCheck, or ListObjects/StreamedListObjects with --listObjects-pipeline-enabled=false to enforce access, and
  2. The authorization model contains a relation that (directly or through other relations) uses and, or or but not, and
  3. One of the following occurs:
    • A request reaches its server-side deadline (--request-timeout, or --listObjects-deadline for ListObjects) before evaluation finishes. That request could return an incorrect result.
    • Check query caching is enabled (--check-query-cache-enabled) and a Check is cancelled before it finishes due to a client cancellation, a deadline, or OpenFGA cancelling a branch once another branch has settled the result. The check could cache an incorrect result that later requests reuse.
Fix

Upgrade to OpenFGA v1.23.0 or greater.

Acknowledgements

OpenFGA would like to thank @andrewloux for the discovery, responsible disclosure, and remediation.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137181 changed 2026-12-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-637h-v79h-mvqf changed 2026-12-01CC-BY-4.0
NVDCVE-2026-137181 changed 2026-12-01Public domain