{"id":"CVE-2024-31452","published":"2024-04-16T21:40:58Z","modified":"2024-08-02T01:52:56Z","title":"OpenFGA Authorization Bypass","vendor":"openfga","product":"openfga","tier":"tail","description":{"text":"OpenFGA is a high-performance and flexible authorization/permission engine. Some end users of OpenFGA v1.5.0 or later are vulnerable to authorization bypass when calling Check or ListObjects APIs. You are very likely affected if your model involves exclusion (e.g. `a but not b`) or intersection (e.g. `a and b`). This vulnerability is fixed in v1.5.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00656,"percentile":0.52334,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-8cph-m685-6v6r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openfga/openfga/commit/b6a6d99b2bdbf8c3781503989576076289f48ed2","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":10.47},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"openfga","affectedVersions":[{"vendor":"openfga","product":"openfga","versions":[">= 1.5.0, < 1.5.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-05-30T15:44:01.928284Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openfga/openfga","vulnerableRanges":[">=1.5.0, <1.5.3"],"patched":["1.5.3"],"from":["GHSA-8cph-m685-6v6r","GO-2024-2729"],"provenance":"source"}],"summary":{"text":"OpenFGA, the open-source authorization engine, contains an authorization bypass flaw in its Check and ListObjects APIs affecting version 1.5.0 and later, and it is most likely to affect deployments whose authorization models use exclusion (such as \"a but not b\") or intersection (such as \"a and b\"). An unauthenticated remote attacker can exploit this over the network without user interaction, though the attack is considered high in complexity, and successful exploitation can lead to access beyond what the attacker should be permitted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:49Z"},"euvd":{"id":"EUVD-2024-1156","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openfga-cve-2022-39341","parents":[{"from":"CVE-2023-35933","to":"CVE-2024-31452","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/server/server.go"],"commits":["https://github.com/openfga/openfga/commit/087ce392595f3c319ab3028b5089118ea4063452","https://github.com/openfga/openfga/commit/b6a6d99b2bdbf8c3781503989576076289f48ed2"],"basis":"shared function","functions":["Check"]}]},{"from":"CVE-2023-43645","to":"CVE-2024-31452","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/graph/check.go","pkg/server/commands/list_objects.go","pkg/server/server.go"],"commits":["https://github.com/openfga/openfga/commit/725296025fd81227c89525808652c6acd4a605f6","https://github.com/openfga/openfga/commit/b6a6d99b2bdbf8c3781503989576076289f48ed2"],"basis":"shared function","functions":["Check","ResolveCheck","checkDirect","checkTTU","evaluate"]}]},{"from":"CVE-2024-23820","to":"CVE-2024-31452","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/server/commands/list_objects.go"],"commits":["https://github.com/openfga/openfga/commit/908ac85c8b7769c8042cca31886df8db01976c39","https://github.com/openfga/openfga/commit/b6a6d99b2bdbf8c3781503989576076289f48ed2"],"basis":"shared function","functions":["evaluate"]}]}],"children":[{"from":"CVE-2024-31452","to":"CVE-2025-46331","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/graph/cached_resolver.go"],"commits":["https://github.com/openfga/openfga/commit/b6a6d99b2bdbf8c3781503989576076289f48ed2","https://github.com/openfga/openfga/commit/244302e7a8b979d66cc1874a3899cdff7d47862f"],"basis":"shared function","functions":["ResolveCheck"]}]},{"from":"CVE-2024-31452","to":"CVE-2025-55213","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/graph/check.go"],"commits":["https://github.com/openfga/openfga/commit/b6a6d99b2bdbf8c3781503989576076289f48ed2","https://github.com/openfga/openfga/commit/1a7e0e37fc4777c824b2386cac4867a66f3480b0"],"basis":"shared function","functions":["checkDirect"]}]}]}}