{"id":"CVE-2026-137181","aliases":["CVE-2026-137181","GHSA-637h-v79h-mvqf"],"related":[],"kind":"vulnerability","state":"published","title":"OpenFGA: Request timeouts can cause OpenFGA to grant unauthorized access","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2026-11-30T17:55:40.461Z","modified":"2026-12-01T14:18:12.513Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":">= 1.10.3, < 1.23.0","status":"affected"}],"vendor":"openfga","product":"openfga","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.10.3","status":"affected","fixed":"1.23.0"}],"ecosystem":"Go","package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"ghsa"}],"references":[{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openfga/openfga/commit/9b420733fc2ef7607e3287405ebaad144c90775e","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openfga/openfga/releases/tag/v1.23.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137181","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openfga/openfga","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-12-01T13:30:37.242Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137181","url":"https://www.cve.org/CVERecord?id=CVE-2026-137181","licence":"CVE Terms of Use","modified":"2026-12-01T13:56:00.022Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-637h-v79h-mvqf","url":"https://github.com/advisories/GHSA-637h-v79h-mvqf","licence":"CC-BY-4.0","modified":"2026-12-01T03:00:03.863Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137181","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137181","licence":"Public domain","modified":"2026-12-01T14:18:12.513Z"}],"updatedAt":"2026-12-01T14:32:13.087Z","epss":{"score":0.00548,"percentile":0.47288,"date":"2026-12-01T12:00:22.000Z"}}