News Analysis 9 min read

OpenFGA Timeouts Could Grant Unauthorized Access

OpenFGA could turn timed-out graph branches into incorrect allow decisions and cache them. Upgrade to 1.23.0, map affected models and retest denial paths.

By Protocol Report Editorial | Updated December 2, 2026
A fine-grained authorization engine evaluates relationship branches as an amber timeout path opens an incorrect access gate while a cyan fixed path preserves the graph result, fails closed, updates the engine and verifies the denied decision
Short Version

OpenFGA disclosed CVE-2026-137181, a High-severity authorization error affecting versions 1.10.3 through 1.22.x. Under documented combinations of Check, BatchCheck or legacy ListObjects evaluation, relations using `and`, `or` or `but not`, and a request timeout or cancellation, an unfinished branch could produce an incorrect result. With Check query caching enabled, a bad result could also be stored and reused by later authorization checks.

OpenFGA 1.23.0 fixes the issue; the corresponding Helm chart floor is 0.4.2. Operators should inventory the server, container, library and chart versions that actually run, identify affected APIs and model operators, determine whether query caching or the legacy ListObjects pipeline was enabled, update every replica, and replay both allowed and denied authorization cases under deadline pressure. A vulnerable version alone does not prove that unauthorized access occurred.

Key Takeaways

  • check_circle The advisory marks OpenFGA versions from 1.10.3 up to but not including 1.23.0 as affected; Docker deployments share that boundary and Helm charts are fixed in 0.4.2.
  • check_circle Check and BatchCheck are in scope; ListObjects and StreamedListObjects are in scope only when `--listObjects-pipeline-enabled=false`.
  • check_circle The authorization model must directly or indirectly use `and`, `or` or `but not` for the documented failure condition.
  • check_circle A server-side deadline can produce an incorrect response, while cancellation plus `--check-query-cache-enabled` can preserve an incorrect Check result for reuse.
  • check_circle The maintainer rates the issue High at CVSS 7.1 and records attack requirements and low privileges; it does not report exploitation in the wild.
  • check_circle Upgrade to 1.23.0 or later, clear old in-memory state through a controlled rollout and test denial cases during cancellation and timeout, not only normal successful checks.

What The Advisory Actually Puts In Scope

OpenFGA is a centralized fine-grained authorization engine. Applications ask it whether a subject has a relation to a resource or request the resources that subject can access. CVE-2026-137181 matters because the affected component produces the decision an application may enforce. An incorrect allow can cross from the OpenFGA service into the protected application even though OpenFGA itself does not store the downstream document, channel or administrative action.

The project lists the Go package and openfga/openfga container from 1.10.3 before 1.23.0 as affected, with 1.23.0 fixed. It separately lists official Helm chart versions from 0.2.45 before 0.4.2 as affected. A chart version, image tag and embedded Go module are different inventory objects, so operators should verify each deployment form instead of assuming one version string describes all of them.

The advisory does not say every request on those versions can return allow. It requires an affected API, a model relation that uses set operators and a timeout or cancellation condition. There is no vendor claim of observed exploitation, known victims or a universal remote bypass. The practical response is urgent because the decision boundary is sensitive, but the incident statement must remain tied to the prerequisites.

An Unfinished Branch Must Not Become An Empty Answer

Fine-grained models can combine relation branches. An `and` expression requires multiple conditions, an `or` expression accepts alternatives, and `but not` subtracts a relation from another. Evaluation may run branches concurrently and combine their results. If one worker stops because its context is cancelled or its deadline expires, the engine must distinguish an incomplete computation from a legitimate empty set or negative result.

The disclosed defect could lose that distinction. Check or BatchCheck, plus ListObjects or StreamedListObjects on the legacy pipeline, could return an incorrect result when the affected relation graph met the advisory conditions. In an exclusion rule, for example, treating an unfinished subtracting branch as empty can leave access that should have been removed. That is an explanatory model, not a claim that every model with `but not` is exploitable on demand.

The error is more serious than an ordinary availability timeout because the caller may receive a usable authorization answer instead of a failure it can reject. Applications that already fail closed on transport errors cannot protect themselves when the authorization service returns a syntactically successful but incorrect allow. The correction therefore belongs inside the graph evaluator, followed by application-level negative testing.

Caching Can Extend A Transient Wrong Decision

The second documented condition involves `--check-query-cache-enabled`. If a Check is cancelled before completion because of a client cancellation, a deadline or OpenFGA ending one branch after another branch settles the result, the affected version could cache an incorrect answer. Later requests could then reuse that entry without recreating the original timing condition.

This does not mean every OpenFGA cache contains poisoned authorization results. The model still needs an affected logical relation and the deployment must enable the Check query cache. The advisory also distinguishes query caching from other caches and from ordinary consistency behavior. Operators should record the exact flags, environment variables and launch manifests that were active during the vulnerable window rather than infer configuration from defaults or a current dashboard.

A rolling update replaces the vulnerable evaluator and naturally removes process-local memory as old replicas terminate, but recovery should not depend on an undocumented cache assumption. Drain and restart every affected replica, verify no older pod or binary remains behind a load balancer, and repeat sensitive checks after the rollout. If a custom embedding or external cache stores authorization decisions, review its invalidation behavior separately.

Map Models, APIs And Deadlines Before Scoping Risk

Inventory OpenFGA servers, containers, Go library embeddings and Helm releases. Record the version or digest, store IDs served, deployment owner, replicas, request timeout, ListObjects deadline, Check query-cache setting and ListObjects pipeline flag. Search deployment manifests for the corresponding command-line options and environment-variable forms, then confirm effective values from running processes where possible.

Export or query authorization models and locate relations that directly or indirectly use intersection, union or exclusion semantics. A simple-looking permission may reference another relation that contains the affected operator, so inspect the reachable model graph rather than only the final relation name. Map those relations to application endpoints, resources and actions that use Check, BatchCheck, ListObjects or StreamedListObjects as enforcement inputs.

Finally, examine operational pressure. Review deadline-exceeded responses, client cancellations, request latency, graph depth, datastore latency, throttling and load spikes. A timeout record is not evidence of an incorrect allow, and absence of a timeout log may not prove that a client-side cancellation never occurred. The goal is to prioritize models and time windows where all documented conditions could overlap.

Upgrade Every Form And Test The Denial Path

Upgrade the server, container or Go dependency to OpenFGA 1.23.0 or later. For the official Helm distribution, use chart 0.4.2 or later and verify the image it deploys. Pin immutable image digests, preserve configuration during the change and roll all replicas. Embedded consumers need a rebuild and redeploy; changing a go.mod file does not alter an existing binary.

Build regression cases from real authorization models. Cover direct and indirect `and`, `or` and `but not` relations across Check and BatchCheck. If the legacy ListObjects pipeline was used, cover ListObjects and StreamedListObjects as well. Run expected allow and expected deny cases under normal latency, server-side deadline expiry and client cancellation, confirming incomplete evaluation returns an error or correct result and never converts a denied request into allow.

Test the whole enforcement chain. An API gateway, application service or SDK may retry, transform errors, cache responses or fall back to local policy. Verify that timeout and cancellation failures remain closed at the protected operation, while legitimate traffic still completes after the update. Observe latency and CPU because temporarily disabling Check query caching, as Red Hat suggests for mitigation, can raise resource use and may shift timeout behavior during the maintenance window.

Review Access Without Treating Every Allow As Malicious

The advisory provides no exploit indicator and no unique log signature for a wrong decision. Preserve OpenFGA request logs, decision telemetry, application access logs, model versions, tuple changes, cache settings, deployment events and deadline metrics. Correlate by subject, relation, object, authorization model ID and request time where those fields are available.

Prioritize sensitive actions whose intended result was deny and whose evaluation overlapped a timeout or cancellation. Compare application activity with authoritative business rules, resource ownership and historical decisions. An allowed response is normal for many requests, while a deadline error can be harmless. Confidence comes from reconstructing the model and tuples at that time and showing that the observed action contradicted the expected result.

If unauthorized access is supported by evidence, revoke the affected application sessions, restore resource state, review downstream reads and writes, and address any credentials or data exposed by the protected action. Keep the OpenFGA patch and tests separate from downstream containment: updating the evaluator prevents recurrence but does not undo an earlier access, while rotating unrelated credentials cannot correct the authorization engine.

Checklist

  • Inventory OpenFGA binaries, containers, embedded Go modules and Helm charts, including immutable image digests.
  • Identify Check, BatchCheck and legacy ListObjects consumers whose reachable models use `and`, `or` or `but not`.
  • Record effective request deadlines, ListObjects pipeline mode, Check query-cache state and replica configuration.
  • Upgrade OpenFGA to 1.23.0 or later and the official Helm chart to 0.4.2 or later, then replace every replica.
  • Replay expected allow and deny cases under normal latency, deadline expiry and client cancellation across the full application path.
  • Preserve decision, application, model, tuple, cache, timeout and deployment evidence for the vulnerable window.
  • Contain only access supported by the reconstructed authorization evidence, while keeping the version update mandatory.

Sources

Related Articles

Continue Reading