{"schemaVersion":3,"id":"CVE-2022-39352","aliases":["GHSA-3gfj-fxx4-f22w","GO-2022-1099"],"status":"published","duplicateOf":null,"title":null,"description":"OpenFGA is a high-performance authorization/permission engine inspired by Google Zanzibar. Versions prior to 0.2.5 are vulnerable to authorization bypass under certain conditions. You are affected by this vulnerability if you added a tuple with a wildcard (*) assigned to a tupleset relation (the right hand side of a ‘from’ statement). This issue has been patched in version v0.2.5. This update is not backward compatible with any authorization model that uses wildcard on a tupleset relation.","dates":{"published":"2022-11-08T00:00:00.000Z","modified":"2025-04-23T16:39:59.732Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":5.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00457,"percentile":0.38332,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.009000000000000067,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00448},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00457,"percentile":0.38332}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00457,"percentile":0.38332}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"github.com/openfga","product":"openfga","name":"github.com/openfga/openfga","label":"openfga","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/openfga/openfga","purlType":"golang","versions":[{"text":"< 0.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.5","eol":null,"hubHref":null},{"vendor":"openfga","product":"openfga","name":"openfga","label":"openfga","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.5","eol":null,"hubHref":"/vendor/openfga/openfga"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-3gfj-fxx4-f22w","label":"github.com/openfga/openfga/security/advisories/GHSA-3gfj-fxx4-f22w","hostname":"github.com","tags":["WEB","Advisory","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39352","label":"nvd.nist.gov/vuln/detail/CVE-2022-39352","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/openfga/openfga/commit/776e80505e8d184b2286acc8268d8d74f36a9984","label":"github.com/openfga/openfga/commit/776e80505e8d184b2286acc8268d8d74f36a9984","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/openfga/openfga","label":"github.com/openfga/openfga","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/openfga/openfga/releases/tag/v0.2.5","label":"github.com/openfga/openfga/releases/tag/v0.2.5","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-11-08T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T16:39:59.732Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:26:53.517Z","stale":false,"partial":false}}