CVE-2022-39341
CRITICAL 9.8CVSS 3.1OpenFGA Authorization Bypass via tupleset wildcard
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.
- Published
- 25 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-285CWE-863
- Also known as
- GHSA-vj4m-83m8-xpw5GO-2022-1080
- Sources
- NVDJSONOSV GHSA-vj4m-83m8-xpw5JSONOSV GO-2022-1080JSON
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 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openfga | openfgacpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:* |
< 0.2.4 | 0.2.4 |
| OSV | Go | github.com/openfga/openfga | < 0.2.4 | 0.2.4 |
References
- https://github.com/openfga/openfga/commit/b466769cc100b2065047786578718d313f52695b · Patch, Third Party Advisory, WEB, FIX
- https://github.com/openfga/openfga/releases/tag/v0.2.4 · Release Notes, Third Party Advisory, WEB
- https://github.com/openfga/openfga/security/advisories/GHSA-vj4m-83m8-xpw5 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-39341 · ADVISORY
- https://github.com/openfga/openfga · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 25 Oct 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Oct 2022)