OpenFGA Authorization Bypass Vulnerability

Vulnerability

A vulnerability allowing authorization bypass has been identified in OpenFGA versions 1.3.6 prior to 1.8.11, as well as in the OpenFGA Helm chart versions 0.1.36 prior to 0.2.29. This vulnerability arises when certain Check and ListObject API calls are made, particularly with authorization models that have tuple cycles. The issue is exacerbated if the Check query cache is enabled, as multiple requests involving the tuple cycle can lead to inconsistent authorization checks.

Impact

Exploitation of this vulnerability can lead to unauthorized access or permissions, allowing users to bypass intended authorization controls.

Reproduction

To reproduce this vulnerability, use OpenFGA versions 1.3.6 prior to 1.8.11 or the OpenFGA Helm chart versions 0.1.36 prior to 0.2.29. Enable the Check query cache and make Check or ListObjects API calls with an authorization model that has a tuple cycle. The vulnerability can be observed when the response to these calls is cached, despite indicating a cycle, which should have prevented the result from being saved.

Remediation

Users can upgrade to OpenFGA version 1.8.11 or the OpenFGA Helm chart version 0.2.29 to address this vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
1.4
impact
5.0
exploitability
5.5
remediation
7.7
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.