CVE-2024-42473
OpenFGA Authorization Bypass
In short
OpenFGA versions 1.5.7 and 1.5.8 have a flaw where the Check API incorrectly evaluates permissions when using `but not` and `from` expressions with usersets, allowing unauthorized access that should be denied.
Technical detail
An authorization bypass vulnerability exists in OpenFGA's Check API when processing authorization models containing `but not` and `from` expressions combined with usersets. The flaw occurs during permission evaluation logic, potentially allowing access requests that should fail authorization checks. Affected versions are 1.5.7 and 1.5.8; downgrade to 1.5.6 is recommended as a mitigation.
Summary generated and translated by AI from the official description.
OpenFGA is an authorization/permission engine. OpenFGA v1.5.7 and v1.5.8 are vulnerable to authorization bypass when calling Check API with a model that uses `but not` and `from` expressions and a userset. Users should downgrade to v1.5.6 as soon as possible. This downgrade is backward compatible. As of time of publication, a patch is not available but OpenFGA's maintainers are planning a patch for inclusion in a future release.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected products
openfga · openfgaWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →