CVE-2025-48371
JSON

5.8medium

OpenFGA Authorization Bypass

Severity
5.8medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.51% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-c72g-53hw-82q7GO-2025-3707

Description

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.

Affected

Product or packageVersionsReported by
openfga openfga>= 1.8.0, < 1.8.13, from 1.8.0 before 1.8.13CVE List, NVD
github.com/openfga/openfga (Go)from 1.8.0 before 1.8.13GitHub Advisory Database, Go Vulnerability Database
openfga helm_chartsfrom 0.2.16 before 0.2.32NVD

All scores

GitHub_M5.8medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-285

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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:

Fix

Upgrade to v1.8.13. This upgrade is backwards compatible.

Acknowledgments

OpenFGA would like to thank @udyvish for discovering this vulnerability.

Go Vulnerability Database

OpenFGA Authorization Bypass in github.com/openfga/openfga

NVD (es)

OpenFGA es un motor de autorización y permisos. Las versiones de OpenFGA 1.8.0 a 1.8.12 (correspondientes a los diagramas de Helm openfga-0.2.16 a openfga-0.2.30 y docker 1.8.0 a 1.8.12) son vulnerables a la omisión de la autorización al ejecutar ciertas llamadas a Check y ListObject. Los usuarios se ven afectados en cuatro circunstancias específicas: primero, al llamar a la API Check o a ListObjects con un modelo de autorización que tenga una relación directamente asignable tanto por el acceso público como por el conjunto de usuarios; segundo, si existen consultas de check o de objetos de lista con tuplas contextuales para la relación que puedan ser directamente asignables tanto por el acceso público como por el conjunto de usuarios; tercero, si el campo de usuario de esas tuplas contextuales es un conjunto de usuarios; y, por último, si las tuplas de acceso público no están asignadas a la relación. Los usuarios deben actualizar a la versión 1.8.13 para recibir un parche. La actualización es compatible con versiones anteriores.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-48371 changed 2025-05-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-c72g-53hw-82q7 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3707 changed 2026-02-04CC-BY-4.0
NVDCVE-2025-48371 changed 2026-06-17Public domain