{"id":"CVE-2023-35933","aliases":["GHSA-hr9r-8phq-5x8j","GO-2023-1872"],"url":"https://o3.security/vulnerability/CVE-2023-35933","summary":"OpenFGA denial of service die to circular relationship","details":"### Overview\n\nOpenFGA versions v1.1.0 and prior are vulnerable to a DoS attack when certain Check and ListObjects calls are executed against authorization models that contain circular relationship definitions.\n\n### Am I Affected?\n\nYou are affected by this vulnerability if you are using OpenFGA v1.1.0 or earlier, and if you are executing certain [Check](https://openfga.dev/api/service#/Relationship%20Queries/Check) or [ListObjects](https://openfga.dev/api/service#/Relationship%20Queries/ListObjects) calls against a vulnerable authorization model. To see which of your models could be vulnerable to this attack, download OpenFGA v1.2.0 and run the following command: \n\n```\n./openfga validate-models --datastore-engine <ENGINE> --datastore-uri <URI> | jq .[] | select(.Error | contains(\"loop\"))\n```\n\nreplacing the variables `<ENGINE>` and `<URI>` as needed.\n\n### Fix\n\nUpgrade to v1.1.1.\n\n### Backward Compatibility\n\nIf you are not passing an invalid authorization model (as identified by running `./openfga validate-models`) as a parameter of your Check and ListObjects calls, this upgrade is backwards compatible. \n\nOtherwise, OpenFGA v1.1.1 will start returning HTTP 400 status codes on those calls.","published":"2023-06-26T19:26:30.929Z","modified":"2026-10-28T02:30:38.917494366Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"Go","name":"github.com/openfga/openfga","fixedVersion":"1.1.1"}],"fix":{"url":"https://github.com/openfga/openfga/commit/087ce392595f3c319ab3028b5089118ea4063452","label":"openfga/openfga@087ce39"},"references":[{"type":"WEB","url":"https://openfga.dev/api/service#/Relationship%20Queries/Check"},{"type":"WEB","url":"https://openfga.dev/api/service#/Relationship%20Queries/ListObjects"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35933.json"},{"type":"ADVISORY","url":"https://github.com/openfga/openfga/security/advisories/GHSA-hr9r-8phq-5x8j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35933"},{"type":"FIX","url":"https://github.com/openfga/openfga/commit/087ce392595f3c319ab3028b5089118ea4063452"},{"type":"PACKAGE","url":"https://github.com/openfga/openfga"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:38.917494366Z"}}