CVE-2025-48371: OpenFGA Authorization Bypass
Overview OpenFGA v1.8.0 to v1.8.12 ( openfga-0.2.16 <= Helm chart <= openfga-0.2.31, v1.8.0 <= docker <= v.1.8.12) are vulnerable to authorization bypass when certain Check and ListObject calls are executed.
Am I Affected? If you are using OpenFGA v1.8.0 to v1.8.12, specifically under the following conditions, you are affected by this authorization bypass vulnerability: - Calling Check API or ListObjects with an authorization model that has a relationship directly assignable by both type bound public access and userset, and - There are check or list object queries with contextual tuples for the relationship that can be directly assignable by both type bound public access and userset, and - Those contextual tuples’s user field is an userset, and - Type bound public access tuples are not assigned to the relationship
Fix Upgrade to v1.8.13. This upgrade is backwards compatible.
Acknowledgments Okta would like to thank @udyvish for discovering this vulnerability.
Other sources
OpenFGA is an authorization/permission engine. OpenFGA versions 1.8.0 through 1.8.12 (corresponding to Helm chart openfga-0.2.16 through openfga-0.2.30 and docker 1.8.0 through 1.8.12) are vulnerable to authorization bypass when certain Check and ListObject calls are executed. Users are affected under four specific conditions: First, calling Check API or ListObjects with an authorization model that has a relationship directly assignable by both type bound public access and userset; second, there are check or list object queries with contextual tuples for the relationship that can be directly assignable by both type bound public access and userset; third, those contextual tuples’s user field is an userset; and finally, type bound public access tuples are not assigned to the relationship. Users should upgrade to version 1.8.13 to receive a patch. The upgrade is backwards compatible.
— NVD
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-48371?
CVE-2025-48371 has a high severity due to its potential for unauthorized access through authorization bypass.
How do I fix CVE-2025-48371?
To fix CVE-2025-48371, upgrade OpenFGA from any affected version (1.8.0 through 1.8.12) to a secure version beyond 1.8.12.
What products are affected by CVE-2025-48371?
CVE-2025-48371 affects OpenFGA versions from 1.8.0 to 1.8.12, including corresponding Helm charts and Docker images.
What types of calls are involved in CVE-2025-48371?
CVE-2025-48371 involves an authorization bypass during certain Check and ListObject API calls.
Is there a known exploit for CVE-2025-48371?
Yes, CVE-2025-48371 allows attackers to exploit the authorization bypass to gain unauthorized access to protected resources.