GHSA-637h-v79h-mvqfHigh
OpenFGA: Request timeouts can cause OpenFGA to grant unauthorized access
🔗 CVE IDs covered (1)
📋 Description
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.
🎯 Affected products1
- go/github.com/openfga/openfga:>= 1.10.3, < 1.23.0
🔗 References (5)
- https://github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf
- https://nvd.nist.gov/vuln/detail/CVE-2026-137181
- https://github.com/openfga/openfga/commit/9b420733fc2ef7607e3287405ebaad144c90775e
- https://github.com/openfga/openfga/releases/tag/v1.23.0
- https://github.com/advisories/GHSA-637h-v79h-mvqf