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 package | Versions | Reported by |
|---|---|---|
| openfga openfga | >= 1.10.3, < 1.23.0 | CVE List |
| github.com/openfga/openfga (Go) | from 1.10.3 before 1.23.0 | GitHub Advisory Database |
All scores
| GitHub_M | 7.1high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N |
| GitHub | high CVSS:4.0 | CVSS: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
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:
- An application uses Check, BatchCheck, or ListObjects/StreamedListObjects with
--listObjects-pipeline-enabled=falseto enforce access, and - The authorization model contains a relation that (directly or through other relations) uses
and,ororbut not, and - One of the following occurs:
- A request reaches its server-side deadline (
--request-timeout, or--listObjects-deadlinefor 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.
- A request reaches its server-side deadline (
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137181 changed 2026-12-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-637h-v79h-mvqf changed 2026-12-01 | CC-BY-4.0 |
| NVD | CVE-2026-137181 changed 2026-12-01 | Public domain |