CVE-2022-39352 json
OpenFGA Authorization Bypass
published 4y ago modified 4mo ago also GHSA-3gfj-fxx4-f22w , GO-2022-1099 , EUVD-2022-7210
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/openfga/openfga 0.2.5
- openfga openfga 0.2.5
Is CVE-2022-39352 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/openfga/openfga | <0.2.5 |
0.2.5 |
Affected products
- openfga openfga
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/openfga/openfga/commit/776e80505e8d184b2286acc8268d8d74f36a9984
web, patch
-
github.com
/openfga/openfga/security/advisories/GHSA-3gfj-fxx4-f22w
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39352
advisory
-
github.com
/openfga/openfga
package
-
github.com
/openfga/openfga/releases/tag/v0.2.5
web
Sources
- CVE List CVE-2022-39352
- GitHub Advisory GHSA-3gfj-fxx4-f22w
- NVD CVE-2022-39352
- OSV GO-2022-1099
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.