{"id":"CVE-2023-35933","aliases":["CVE-2023-35933","GHSA-hr9r-8phq-5x8j","GO-2023-1872"],"related":[],"kind":"vulnerability","state":"published","title":"OpenFGA denial of service die to circular relationship","summary":"OPenFGA is an open source authorization/permission engine built for developers. OpenFGA versions v1.1.0 and prior are vulnerable to a DoS attack when Check and ListObjects calls are executed against authorization models that contain circular relationship definitions. Users are affected by this vulnerability if they are using OpenFGA v1.1.0 or earlier, and if you are executing `Check` or `ListObjects` calls against a vulnerable authorization model. Users are advised to upgrade to version 1.1.1. There are no known workarounds for this vulnerability. Users that do not have circular relationships in their models are not affected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OPenFGA is an open source authorization/permission engine built for developers. OpenFGA versions v1.1.0 and prior are vulnerable to a DoS attack when Check and ListObjects calls are executed against authorization models that contain circular relationship definitions. Users are affected by this vulnerability if they are using OpenFGA v1.1.0 or earlier, and if you are executing `Check` or `ListObjects` calls against a vulnerable authorization model. Users are advised to upgrade to version 1.1.1. There are no known workarounds for this vulnerability. Users that do not have circular relationships in their models are not affected.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"OpenFGA is vulnerable to a denial of service attack when certain Check and ListObjects calls are executed against authorization models that contain circular relationship definitions.","format":"markdown","source":"go"},{"lang":"es","text":"OpenFGA es un motor de autorización/permiso de código abierto creado para desarrolladores. Las versiones v1.1.0 y anteriores de OpenFGA son vulnerables a un ataque DoS cuando se ejecutan llamadas a \"Check\" y \"ListObjects\" contra modelos de autorización que contienen definiciones de relaciones circulares. Los usuarios se ven afectados por esta vulnerabilidad si utilizan OpenFGA v1.1.0 o anterior, y si se ejecutan llamadas \"Check\" o \"ListObjects\" contra un modelo de autorización vulnerable. Se recomienda a los usuarios que actualicen la versión 1.1.1. No se conocen soluciones para esta vulnerabilidad. Los usuarios que no tengan relaciones circulares en sus modelos no se verán afectados.","source":"nvd"}],"published":"2023-06-26T19:26:30.929Z","modified":"2026-06-17T06:05:29.783Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"version":"< 1.1.1","status":"affected"}],"vendor":"openfga","product":"openfga","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.1"}],"ecosystem":"Go","package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.1"}],"ecosystem":"Go","package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"go"},{"ranges":[{"status":"affected","fixed":"1.1.1"}],"vendor":"openfga","product":"openfga","cpe":"cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-hr9r-8phq-5x8j","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/openfga/openfga/commit/087ce392595f3c319ab3028b5089118ea4063452","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://openfga.dev/api/service#/Relationship%20Queries/Check","tags":["exploit","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://openfga.dev/api/service#/Relationship%20Queries/ListObjects","tags":["exploit","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35933","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openfga/openfga","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-12-03T18:41:46.527Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-35933","url":"https://www.cve.org/CVERecord?id=CVE-2023-35933","licence":"CVE Terms of Use","modified":"2024-12-03T18:41:56.738Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hr9r-8phq-5x8j","url":"https://github.com/advisories/GHSA-hr9r-8phq-5x8j","licence":"CC-BY-4.0","modified":"2023-11-08T04:12:54.656Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1872","url":"https://pkg.go.dev/vuln/GO-2023-1872","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-35933","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35933","licence":"Public domain","modified":"2026-06-17T06:05:29.783Z"}],"updatedAt":"2026-11-25T22:58:25.226Z","epss":{"score":0.01133,"percentile":0.67371,"date":"2026-12-01T12:00:22.000Z"}}