Moderate severityNVD Advisory· Published Oct 25, 2022· Updated Apr 23, 2025
OpenFGA Authorization Bypass
CVE-2022-39342
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/openfga/openfgaGo | < 0.2.4 | 0.2.4 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-f4mm-2r69-mg5fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-39342ghsaADVISORY
- github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4ghsaWEB
- github.com/openfga/openfga/releases/tag/v0.2.4ghsaWEB
- github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5fghsaWEB
News mentions
0No linked articles in our index yet.