CVE-2026-137181: OpenFGA Request Timeouts Can Cause OpenFGA Vulnerability

HIGH
Advisory Identifier: GHSA-637h-v79h-mvqf
CWE-863
Published
Advisory Summary

CVE-2026-137181 is a HIGH request timeouts can cause openfga vulnerability (CWE-863: Incorrect Authorization) affecting OpenFGA libraries in the Go ecosystem. The issue involves request timeouts can cause openfga to grant unauthorized access. Remediation is available by upgrading affected packages to version 1.23.0.

CVE-2026-137181 at a Glance

CVE Identifier CVE-2026-137181
GHSA Identifier GHSA-637h-v79h-mvqf
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-863: Incorrect Authorization
Affected Product OpenFGA
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-137181

To remediate this vulnerability, upgrade all affected OpenFGA dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/openfga/openfga fixed: 1.23.0
Upgrade github.com/openfga/openfga to 1.23.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/openfga/openfga

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-137181, inspect your project dependencies for OpenFGA:

inspect dependencies for github.com/openfga/openfga

Analyze the terminal output to locate any version of OpenFGA in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.23.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In OpenFGA, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-137181 Affected OpenFGA Versions

1 component(s)
Fixed Versions:
1.23.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/openfga/openfga
Go
≥ 1.10.3
< 1.23.0
1.23.0

References

Frequently Asked Questions

What is CVE-2026-137181?
CVE-2026-137181 is a security vulnerability in OpenFGA involving Request timeouts can cause OpenFGA to grant unauthorized access under CWE-863: Incorrect Authorization.
Which OpenFGA versions are affected?
Affected versions include releases prior to 1.23.0 across affected packages: github.com/openfga/openfga.
What version fixes CVE-2026-137181?
Upgrading to 1.23.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/openfga/openfga affected?
Yes, github.com/openfga/openfga is affected in releases prior to 1.23.0. Upgrade your dependency to 1.23.0 or later.
What CWE is associated with CVE-2026-137181?
CVE-2026-137181 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Go dependencies for CVE-2026-137181?
Run the dependency tree command: 'inspect dependencies for github.com/openfga/openfga'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-637h-v79h-mvqf",
  "modified" : "2026-12-01T02:54:09Z",
  "published" : "2026-12-01T02:54:09Z",
  "aliases" : [ "CVE-2026-137181" ],
  "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.",
  "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/openfga/openfga"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.10.3"
      }, {
        "fixed" : "1.23.0"
      } ]
    } ]
  } ],
  "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"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-01T02:54:09Z",
    "nvd_published_at" : "2026-11-30T18:18:37Z"
  }
}