{"id":"GHSA-w222-m46c-mgh6","summary":"OpenFGA Authorization Bypass","details":"Overview\nOpenFGA v1.8.10 or previous (Helm chart \u003c= openfga-0.2.28, docker \u003c= v.1.8.10) are vulnerable to authorization bypass when certain Check and ListObject calls are executed.\n\nAm I Affected?\nIf you are using OpenFGA v1.8.10 or previous, specifically under the following conditions, you are affected by this authorization bypass vulnerability:\n- Calling Check API or ListObjects with an [authorization model](https://openfga.dev/docs/concepts#what-is-an-authorization-model) that has tuple cycle.\n- [Check query cache](https://github.com/openfga/openfga/blob/9b5974458b777707ed2a30ba6303699499e655ee/.config-schema.json#L528) is enabled, and\n- There are multiple check / list objects requests involving the tuple cycle within the check query TTL\n\nFix\nUpgrade to v1.8.11. This upgrade is backwards compatible.","aliases":["CVE-2025-46331","GO-2025-3657"],"modified":"2026-07-17T21:15:21.575512679Z","published":"2025-04-30T16:43:33Z","database_specific":{"github_reviewed_at":"2025-04-30T16:43:33Z","nvd_published_at":"2025-04-30T19:15:55Z","cwe_ids":["CWE-284","CWE-863"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/openfga/openfga/security/advisories/GHSA-w222-m46c-mgh6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46331"},{"type":"WEB","url":"https://github.com/openfga/openfga/commit/244302e7a8b979d66cc1874a3899cdff7d47862f"},{"type":"PACKAGE","url":"https://github.com/openfga/openfga"}],"affected":[{"package":{"name":"github.com/openfga/openfga","ecosystem":"Go","purl":"pkg:golang/github.com/openfga/openfga"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.3.6"},{"fixed":"1.8.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-w222-m46c-mgh6/GHSA-w222-m46c-mgh6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H"}]}