{"id":"CVE-2025-48371","published":"2025-05-22T22:20:37Z","modified":"2025-05-23T14:14:20Z","title":"OpenFGA Authorization Bypass","vendor":"openfga","product":"openfga","tier":"tail","description":{"text":"OpenFGA is an authorization/permission engine. OpenFGA versions 1.8.0 through 1.8.12 (corresponding to Helm chart openfga-0.2.16 through openfga-0.2.30 and docker 1.8.0 through 1.8.12) are vulnerable to authorization bypass when certain Check and ListObject calls are executed. Users are affected under four specific conditions: First, calling Check API or ListObjects with an authorization model that has a relationship directly assignable by both type bound public access and userset; second, there are check or list object queries with contextual tuples for the relationship that can be directly assignable by both type bound public access and userset; third, those contextual tuples’s user field is an userset; and finally, type bound public access tuples are not assigned to the relationship. Users should upgrade to version 1.8.13 to receive a patch. The upgrade is backwards compatible.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00511,"percentile":0.44485,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-c72g-53hw-82q7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openfga/openfga/commit/e5960d4eba92b723de8ff3a5346a07f50c1379ca","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":8.9},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"openfga","affectedVersions":[{"vendor":"openfga","product":"openfga","versions":[">= 1.8.0, < 1.8.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-23T14:13:56.997547Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openfga/openfga","vulnerableRanges":[">=1.8.0, <1.8.13"],"patched":["1.8.13"],"from":["GHSA-c72g-53hw-82q7","GO-2025-3707"],"provenance":"source"}],"summary":{"text":"OpenFGA, the authorization/permission engine, contains an improper authorization flaw in versions 1.8.0 through 1.8.12 that is triggered when Check or ListObjects calls are made against a model with a relationship directly assignable by both type-bound public access and userset. An attacker with low-privilege authenticated network access could bypass authorization, but only when contextual tuples whose user field is a userset are supplied for that relationship and no type-bound public access tuples are assigned to it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:57Z"},"euvd":{"id":"EUVD-2025-16351","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-56323","published":"2025-01-13","fixed":"1.8.3","kev":false},{"cve":"CVE-2025-25196","published":"2025-02-19","fixed":"1.8.5","kev":false},{"cve":"CVE-2025-46331","published":"2025-04-30","fixed":"1.8.11","kev":false,"link":{"from":"CVE-2025-46331","to":"CVE-2025-48371","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/openfga/openfga","fromFixed":"1.8.11","toFixed":"1.8.13","daysApart":22},{"kind":"similar","provenance":"machine","score":0.26,"basis":"same product + description similarity"}]}},{"cve":"CVE-2025-48371","published":"2025-05-22","fixed":"1.8.13","kev":false},{"cve":"CVE-2025-55213","published":"2025-08-18","fixed":"1.9.5","kev":false},{"cve":"CVE-2025-64751","published":"2025-11-21","fixed":"1.11.1","kev":false},{"cve":"CVE-2026-24851","published":"2026-02-06","fixed":"1.11.3","kev":false}],"package":"Go:github.com/openfga/openfga"}}