HIGH · CVSS 4.0 CWE-863

CVE-2026-137181: OpenFGA: Request timeouts can cause OpenFGA to grant unauthorized access

Published 2026-12-01 · Updated 2026-12-01 · Also known as GHSA-637h-v79h-mvqf

Summary

OpenFGA contains an authorization bypass vulnerability where request timeouts or cancellations can cause the Check, BatchCheck, and ListObjects APIs to return and cache incorrect access decisions. Users of OpenFGA version 1.10.3 up to 1.22.x must update to secure their environments.

Who is affected

Affected deployments are those using OpenFGA versions 1.10.3 through 1.22.x where authorization models contain relations using 'and', 'or', or 'but not' operators. The issue manifests when a request hits its server-side deadline before evaluation finishes, or when a check query is cached after being cancelled prematurely due to a deadline, client cancellation, or internal branch settling.

Exploitability

The vulnerability involves network attack vector characteristics with low attack complexity, requiring low privileges and prior preconditions (AT:P). While specific exploit metrics like EPSS are not yet available, CISA KEV status is no.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-12-01. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/openfga/openfga >= 1.10.3, < 1.23.0 1.23.0 go get github.com/openfga/[email protected]

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

Attack vectorNetwork
Attack complexityLow
Attack requirementsPresent
Privileges requiredLow
User interactionNone
Confidentiality (vulnerable system)None
Integrity (vulnerable system)High
Availability (vulnerable system)None
Confidentiality (subsequent systems)High
Integrity (subsequent systems)High
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

What APIs are affected by this vulnerability?

The affected APIs are Check, BatchCheck, ListObjects, and StreamedListObjects (when configured with --listObjects-pipeline-enabled=false).

What causes the incorrect results to persist?

If check query caching is enabled (--check-query-cache-enabled), a cancelled or timed-out Check can cache an incorrect result that is subsequently reused by later requests.

How do I fix this issue?

Upgrade your OpenFGA deployment to version 1.23.0 or greater.

Original advisory 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: 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

Source records: GHSA-637h-v79h-mvqf (OSV.dev).