HighGHSA-637h-v79h-mvqfCVE-2026-137181

OpenFGA: Request timeouts can cause OpenFGA to grant unauthorized access

Published 1 Dec 2026 · Updated 1 Dec 2026

Affected package

Affected
>=1.10.3 <1.23.0
Fixed in
1.23.0
Update to the fixed version for your release line, for example:go get github.com/openfga/openfga@v1.23.0

We confirm your address first. See our privacy policy.

Which github.com/openfga/openfga does your project really install?

Drop your go.mod hereWe find the exact github.com/openfga/openfga version you install, even when another package pulls it in, and tell you if it’s affected and what to run. Free, no sign-up.

Works for private projects: the file is read in memory to run the scan and then dropped. Also reads other package files.

Public repo?

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Details

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.

Is GHSA-637h-v79h-mvqf in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/openfga/openfga, and gives you the command that fixes it.

More advisories for github.com/openfga/openfga

  • LowCVE-2026-61709OpenFGA: ListUsers returns a deliberately-excluded user when a `but not` exclusion under a type-bound wildcard is intersected (`and`) with another relation that also grants that user in github.com/openfga/openfga · 28 Sept 2026
  • MediumCVE-2026-61709OpenFGA: ListUsers returns a deliberately-excluded user when a `but not` exclusion under a type-bound wildcard is intersected (`and`) with another relation that also grants that user · 16 Sept 2026
  • LowCVE-2026-55689OpenFGA: OIDC audience validation skipped when --authn-oidc-audience is unset in github.com/openfga/openfga · 25 Jun 2026
  • LowCVE-2026-34972OpenFGA's BatchCheck within-request deduplication produces incorrect authorization decisions via list-value cache-key collision in github.com/openfga/openfga · 25 Jun 2026
  • LowCVE-2026-55170OpenFGA Improper Policy Enforcement in github.com/openfga/openfga · 25 Jun 2026
  • LowCVE-2026-48096OpenFGA has cache-key delimiter injection in shared-iterator and v2 iterator that caches enables intra-store authorization-decision poisoning in github.com/openfga/openfga · 25 Jun 2026
All 55 advisories for github.com/openfga/openfga

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.