CVE-2022-23542
CRITICAL 9.8CVSS 3.1OpenFGA Authorization Bypass
OpenFGA is an authorization/permission engine built for developers and inspired by Google Zanzibar. During an internal security assessment, it was discovered that OpenFGA version 0.3.0 is vulnerable to authorization bypass under certain conditions. This issue has been patched in version 0.3.1 and is backward compatible.
- Published
- 20 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-285
- Also known as
- GHSA-m3q4-7qmj-657mGO-2022-1179
- Sources
- NVDJSONOSV GHSA-m3q4-7qmj-657mJSONOSV GO-2022-1179JSON
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 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openfga | openfgacpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:* |
< 0.3.1 | 0.3.1 |
| OSV | Go | github.com/openfga/openfga | >= 0.3.0, < 0.3.1 | 0.3.1 |
References
- https://github.com/openfga/openfga/pull/422 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/openfga/openfga/releases/tag/v0.3.1 · Release Notes, Third Party Advisory, WEB
- https://github.com/openfga/openfga/security/advisories/GHSA-m3q4-7qmj-657m · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-23542 · ADVISORY
- https://github.com/openfga/openfga · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 20 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Dec 2022)