Vulnerabilities in pkg:golang/github.com/openfga/openfga
PACKAGECVE-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.
pkg:golang/github.com/openfga/openfga
Vulnerability advisories affecting package pkg:golang/github.com/openfga/openfga. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-637h-v79h-mvqf | CVE-2026-137181 | HIGH | OpenFGA: Request timeouts can cause OpenFGA to grant unauthorized access |
| GHSA-g3pg-frfm-pr2m | CVE-2026-61709 | MODERATE | OpenFGA: 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 |
| GHSA-hcxc-wf8j-23hv | CVE-2026-55689 | MODERATE | OpenFGA: OIDC audience validation skipped when --authn-oidc-audience is unset |
| GHSA-cf98-j28v-49v6 | CVE-2026-55170 | LOW | OpenFGA Improper Policy Enforcement |
| GHSA-8396-jffm-qx4w | CVE-2026-48096 | MODERATE | OpenFGA has cache-key delimiter injection in shared-iterator and v2 iterator that caches enables intra-store authorization-decision poisoning |
| GHSA-68m9-983m-f3v5 | CVE-2026-40293 | MODERATE | OpenFGA: Unauthenticated playground endpoint discloses preshared API key in HTML response |
| GHSA-57j5-qwp2-vqp6 | CVE-2026-41131 | MODERATE | OpenFGA has Improper Policy Enforcement |
| GHSA-jwvj-g8pc-cx45 | CVE-2026-34972 | MODERATE | OpenFGA's BatchCheck within-request deduplication produces incorrect authorization decisions via list-value cache-key collision |
| GHSA-c72g-53hw-82q7 | CVE-2025-48371 | MODERATE | OpenFGA Authorization Bypass |
| GHSA-h6c8-cww8-35hf | CVE-2026-33729 | MODERATE | OpenFGA has an Authorization Bypass through cached keys |
| GHSA-jq9f-gm9w-rwm9 | CVE-2026-24851 | MODERATE | OpenFGA Improper Policy Enforcement |
| GHSA-2c64-vmv2-hgfc | CVE-2025-64751 | MODERATE | OpenFGA Improper Policy Enforcement |
| GHSA-mgh9-4mwp-fg55 | CVE-2025-55213 | MODERATE | OpenFGA Authorization Bypass |
| GHSA-w222-m46c-mgh6 | CVE-2025-46331 | MODERATE | OpenFGA Authorization Bypass |
| GHSA-g4v5-6f5p-m38j | CVE-2025-25196 | MODERATE | OpenFGA Authorization Bypass |
| GHSA-32q6-rr98-cjqv | CVE-2024-56323 | MODERATE | OpenFGA Authorization Bypass |
| GHSA-3f6g-m4hr-59h8 | CVE-2024-42473 | HIGH | OpenFGA Authorization Bypass |
| GHSA-jcf2-mxr2-gmqp | CVE-2023-40579 | MODERATE | OpenFGA Authorization Bypass |
| GHSA-8cph-m685-6v6r | CVE-2024-31452 | HIGH | OpenFGA Authorization Bypass |
| GHSA-rxpw-85vw-fx87 | CVE-2024-23820 | MODERATE | OpenFGA denial of service |
| GHSA-hr4f-6jh8-f2vq | CVE-2023-45810 | HIGH | OpenFGA DoS vulnerability |
| GHSA-2hm9-h873-pgqh | CVE-2023-43645 | MODERATE | OpenFGA Vulnerable to DoS from circular relationship definitions |
| GHSA-hr9r-8phq-5x8j | CVE-2023-35933 | MODERATE | OpenFGA vulnerable to denial of service due to circular relationship |
| GHSA-f4mm-2r69-mg5f | CVE-2022-39342 | MODERATE | OpenFGA Authorization Bypass |
| GHSA-vj4m-83m8-xpw5 | CVE-2022-39341 | MODERATE | OpenFGA Authorization Bypass via tupleset wildcard |
| GHSA-m3q4-7qmj-657m | CVE-2022-23542 | HIGH | OpenFGA Authorization Bypass |
| GHSA-3gfj-fxx4-f22w | CVE-2022-39352 | MODERATE | OpenFGA Authorization Bypass |
| GHSA-95x7-mh78-7w2r | CVE-2022-39340 | MODERATE | OpenFGA subject to Information Disclosure via streamed-list-objects endpoint |
CVE-2026-137181 at a Glance
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.
Upgrade github.com/openfga/openfga to 1.23.0
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
CVE-2026-137181 Affected OpenFGA Versions
1 component(s)| 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?
Which OpenFGA versions are affected?
What version fixes CVE-2026-137181?
Is github.com/openfga/openfga affected?
What CWE is associated with CVE-2026-137181?
How can I check Go dependencies for CVE-2026-137181?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}