CVE-2024-31452
JSON

8.1high

OpenFGA Authorization Bypass

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.84% (higher than 55% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-8cph-m685-6v6rGO-2024-2729

Description

OpenFGA is a high-performance and flexible authorization/permission engine. Some end users of OpenFGA v1.5.0 or later are vulnerable to authorization bypass when calling Check or ListObjects APIs. You are very likely affected if your model involves exclusion (e.g. `a but not b`) or intersection (e.g. `a and b`). This vulnerability is fixed in v1.5.3.

Affected

Product or packageVersionsReported by
openfga openfga>= 1.5.0, < 1.5.3, from 1.5.0 before 1.5.3CVE List, NVD
github.com/openfga/openfga (Go)from 1.5.0 before 1.5.3GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-285CWE-863

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

What each source says

CVE List

OpenFGA is a high-performance and flexible authorization/permission engine. Some end users of OpenFGA v1.5.0 or later are vulnerable to authorization bypass when calling Check or ListObjects APIs. You are very likely affected if your model involves exclusion (e.g. `a but not b`) or intersection (e.g. `a and b`). This vulnerability is fixed in v1.5.3.

GitHub Advisory Database

Overview

Some end users of OpenFGA v1.5.0 or later are vulnerable to authorization bypass when calling Check or ListObjects APIs.

Am I Affected?

You are very likely affected if your model involves exclusion (e.g. a but not b) or intersection (e.g. a and b) and you have any cyclical relationships. If you are using these, please update as soon as possible.

Fix

Update to v1.5.3

Backward Compatibility

This update is backward compatible.

Go Vulnerability Database

OpenFGA Authorization Bypass in github.com/openfga/openfga

NVD (es)

OpenFGA es un motor de autorización/permiso flexible y de alto rendimiento. Algunos usuarios finales de OpenFGA v1.5.0 o posterior son vulnerables a la omisión de autorización al llamar a las API Check o ListObjects. Es muy probable que se vea afectado si su modelo implica exclusión (por ejemplo, "a pero no b") o intersección (por ejemplo, "a y b"). Esta vulnerabilidad se solucionó en v1.5.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-31452 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-8cph-m685-6v6r changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2729 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-31452 changed 2026-06-17Public domain