Vulnerabilities · 2022 · Openfga
CVE-2022-39342
Openfga vulnerability
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.
Affected products
Openfga. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openfga runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4 · Patch
- github.com/openfga/openfga/releases/tag/v0.2.4 · Third Party Advisory
- github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-39342
- cve.org/CVERecord?id=CVE-2022-39342
More vulnerabilities in Openfga products
CVE-2025-64751CVE-2025-55213CVE-2025-48371CVE-2025-46331CVE-2025-25196CVE-2024-56323CVE-2024-42473CVE-2024-31452All 18
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.