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 package | Versions | Reported by |
|---|---|---|
| openfga openfga | >= 1.8.0, < 1.8.13, from 1.8.0 before 1.8.13 | CVE List, NVD |
| github.com/openfga/openfga (Go) | from 1.8.0 before 1.8.13 | GitHub Advisory Database, Go Vulnerability Database |
| openfga helm_charts | from 0.2.16 before 0.2.32 | NVD |
All scores
| GitHub_M | 5.8medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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:
- 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
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-48371 changed 2025-05-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c72g-53hw-82q7 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3707 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-48371 changed 2026-06-17 | Public domain |