Critical severity · published Oct 25, 2022
CVE-2022-39342
OpenFGA Authorization Bypass
9.8
CVSS
1.1%
EPSS
No
On KEV
Description
OpenFGA is an authorization/permission engine. Versions prior to version 0.2.4 are vulnerable to authorization bypass under certain conditions. Users whose model has a relation defined as a tupleset (the right hand side of a ‘from’ statement) that involves anything other than a direct relationship (e.g. ‘as self’) are vulnerable. Version 0.2.4 contains a patch for this issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 67% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
openfga · openfga
< 0.2.4 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-39342
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-39342
Patch
https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4
Release Notes
https://github.com/openfga/openfga/releases/tag/v0.2.4
Third Party Advisory
https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f
More from openfga
9.8
CVE-2026-33729
OpenFGA has an Authorization Bypass through cached keys
9.8
CVE-2025-55213
OpenFGA is a high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar
9.8
CVE-2025-46331
OpenFGA is a high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar
9.8
CVE-2025-25196
OpenFGA is a high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar
9.8
CVE-2024-56323
OpenFGA is an authorization/permission engine
