CVE-2022-39352
CRITICAL 9.8CVSS 3.1OpenFGA Authorization Bypass
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.
- Published
- 8 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- GHSA-3gfj-fxx4-f22wGO-2022-1099
- Sources
- NVDJSONOSV GHSA-3gfj-fxx4-f22wJSONOSV GO-2022-1099JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openfga | openfgacpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:* |
< 0.2.5 | 0.2.5 |
| OSV | Go | github.com/openfga/openfga | < 0.2.5 | 0.2.5 |
References
- https://github.com/openfga/openfga/security/advisories/GHSA-3gfj-fxx4-f22w · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-39352 · ADVISORY
- https://github.com/openfga/openfga/commit/776e80505e8d184b2286acc8268d8d74f36a9984 · WEB, FIX
- https://github.com/openfga/openfga · PACKAGE
- https://github.com/openfga/openfga/releases/tag/v0.2.5 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 8 Nov 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Nov 2022)