{"id":"GHSA-637h-v79h-mvqf","summary":"OpenFGA: Request timeouts can cause OpenFGA to grant unauthorized access","details":"In OpenFGA, the Check or BatchCheck APIs, as well as ListObjects or StreamedListObjects with `--listObjects-pipeline-enabled=false`, could return incorrect results.\n\n### Preconditions\n\nThis applies if all of the following are true:\n\n1. An application uses Check, BatchCheck, or ListObjects/StreamedListObjects with `--listObjects-pipeline-enabled=false` to enforce access, and\n2. The authorization model contains a relation that (directly or through other relations) uses `and`, `or` or `but not`, and\n3. One of the following occurs:\n    - A request reaches its server-side deadline (`--request-timeout`, or `--listObjects-deadline` for ListObjects) before evaluation finishes. That request could return an incorrect result.\n    - 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.\n\n### Fix\n\nUpgrade to OpenFGA v1.23.0 or greater.\n\n### Acknowledgements\n\nOpenFGA would like to thank @andrewloux for the discovery, responsible disclosure, and remediation.","aliases":["CVE-2026-137181"],"modified":"2026-12-01T03:00:03.863922997Z","published":"2026-12-01T02:54:09Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-12-01T02:54:09Z","nvd_published_at":"2026-11-30T18:18:37Z","cwe_ids":["CWE-863"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137181"},{"type":"WEB","url":"https://github.com/openfga/openfga/commit/9b420733fc2ef7607e3287405ebaad144c90775e"},{"type":"PACKAGE","url":"https://github.com/openfga/openfga"},{"type":"WEB","url":"https://github.com/openfga/openfga/releases/tag/v1.23.0"}],"affected":[{"package":{"name":"github.com/openfga/openfga","ecosystem":"Go","purl":"pkg:golang/github.com/openfga/openfga"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.10.3"},{"fixed":"1.23.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-637h-v79h-mvqf/GHSA-637h-v79h-mvqf.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}