{"id":"CVE-2022-39341","aliases":["CVE-2022-39341","GHSA-vj4m-83m8-xpw5","GO-2022-1080"],"related":[],"kind":"vulnerability","state":"published","title":"OpenFGA Authorization Bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Overview\nDuring our internal security assessment, it was discovered that OpenFGA versions `v0.2.3` and prior are vulnerable to authorization bypass under certain conditions.\n\n### Am I affected?\nYou are affected by this vulnerability if you are using `openfga/openfga` version `v0.2.3` and you added a tuple with a wildcard (*) assigned to a tupleset relation (the right hand side of a ‘from’ statement).\n\n### How to fix that?\nUpgrade to version `v0.2.4`.\n\n### Backward Compatibility\nThis update is not backward compatible with any authorization model that uses wildcard on a tupleset relation.","format":"markdown","source":"ghsa"},{"lang":"en","text":"OpenFGA Authorization Bypass via tupleset wildcard in github.com/openfga/openfga","format":"markdown","source":"go"},{"lang":"es","text":"OpenFGA es un motor de autorización/permiso. Las versiones anteriores a 0.2.4, son vulnerables a la omisión de la autorización bajo determinadas condiciones. Los usuarios que tienen comodines (\"*\") definidos en las relaciones tupleset en su modelo de autorización son vulnerables. La versión 0.2.4 contiene un parche para este problema","source":"nvd"}],"published":"2022-10-25T00:00:00.000Z","modified":"2026-06-17T04:58:10.557Z","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:H/A:N","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:H/A:N","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:H/A:N","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:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-285","CWE-863"],"affected":[{"ranges":[{"version":"< 0.2.4","status":"affected"}],"vendor":"openfga","product":"openfga","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.4"}],"ecosystem":"Go","package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.4"}],"ecosystem":"Go","package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"go"},{"ranges":[{"status":"affected","fixed":"0.2.4"}],"vendor":"openfga","product":"openfga","cpe":"cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openfga/openfga/releases/tag/v0.2.4","tags":["release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-vj4m-83m8-xpw5","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/openfga/openfga/commit/b466769cc100b2065047786578718d313f52695b","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39341","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/openfga/openfga","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T13:56:03.801Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39341","url":"https://www.cve.org/CVERecord?id=CVE-2022-39341","licence":"CVE Terms of Use","modified":"2025-04-23T16:44:13.556Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vj4m-83m8-xpw5","url":"https://github.com/advisories/GHSA-vj4m-83m8-xpw5","licence":"CC-BY-4.0","modified":"2024-08-21T16:28:36.412Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1080","url":"https://pkg.go.dev/vuln/GO-2022-1080","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:43.392Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39341","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39341","licence":"Public domain","modified":"2026-06-17T04:58:10.557Z"}],"updatedAt":"2026-11-25T22:58:15.996Z","epss":{"score":0.01169,"percentile":0.68299,"date":"2026-12-01T12:00:22.000Z"}}