Openfga · Openfga · CVE-2022-39352
**Name of the Vulnerable Software and Affected Versions**
OpenFGA versions prior to 0.2.5
**Description**
OpenFGA is a high-performance authorization/permission engine inspired by Google Zanzibar. The issue allows for authorization bypass under certain conditions, specifically when a tuple with a wildcard (*) is assigned to a tupleset relation, which is the right-hand side of a 'from' statement. This affects authorization models that use wildcard on a tupleset relation.
**Recommendations**
Upgrade to version 0.2.5, noting that this update is not backward compatible with any authorization model that uses wildcard on a tupleset relation. If using tuples where the `user` field is set to a `userset` and the tuple's relation is used on the right-hand side of a `from` statement, these tuples will need to be rewritten.