{"id":"CVE-2022-39341","published":"2022-10-25T00:00:00Z","modified":"2025-04-23T16:44:13Z","title":"OpenFGA Authorization Bypass","vendor":"openfga","product":"openfga","tier":"tail","description":{"text":"OpenFGA is an authorization/permission engine. Versions prior to version 0.2.4 are vulnerable to authorization bypass under certain conditions. Users who have wildcard (`*`) defined on tupleset relations in their authorization model are vulnerable. Version 0.2.4 contains a patch for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01169,"percentile":0.68171,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/openfga/openfga/releases/tag/v0.2.4","tags":[]},{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-vj4m-83m8-xpw5","tags":[]},{"url":"https://github.com/openfga/openfga/commit/b466769cc100b2065047786578718d313f52695b","tags":[]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":13.63},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"openfga","affectedVersions":[{"vendor":"openfga","product":"openfga","versions":["< 0.2.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:56:03.801358Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openfga/openfga","vulnerableRanges":["<0.2.4"],"patched":["0.2.4"],"from":["GHSA-vj4m-83m8-xpw5","GO-2022-1080"],"provenance":"source"}],"summary":{"text":"The flaw is an improper authorization issue in OpenFGA, an authorization and permission engine, affecting versions prior to 0.2.4 in models that define wildcard (*) on tupleset relations. An attacker with network access and no privileges or user interaction can bypass authorization checks, but only when the authorization model contains that wildcard configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:01Z"},"euvd":{"id":"EUVD-2022-7168","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openfga-cve-2022-39341","children":[{"from":"CVE-2022-39341","to":"CVE-2022-39352","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/commands/check.go","server/commands/expand.go"],"commits":["https://github.com/openfga/openfga/commit/b466769cc100b2065047786578718d313f52695b","https://github.com/openfga/openfga/commit/776e80505e8d184b2286acc8268d8d74f36a9984"],"basis":"shared function","functions":["resolveTupleToUserset"]}]}]}}