Skip to content
OpenAdvisories
Medium · 5.8 CVE-2025-25196 EUVD-2025-4651GHSA-g4v5-6f5p-m38jGO-2025-3470

OpenFGA Authorization Bypass

Published Feb 19, 2025 · Updated Feb 19, 2025 · Assigned by GitHub_M

Description

OpenFGA is a high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. OpenFGA < v1.8.4 (Helm chart < openfga-0.2.22, docker < v.1.8.4) are vulnerable to authorization bypass when certain Check and ListObject calls are executed. Users on OpenFGA v1.8.4 or previous, specifically under the following conditions are affected by this authorization bypass vulnerability: 1. Calling Check API or ListObjects with a model that has a relation directly assignable to both public access AND userset with the same type. 2. A type bound public access tuple is assigned to an object. 3. userset tuple is not assigned to the same object. and 4. Check request's user field is a userset that has the same type as the type bound public access tuple's user type. Users are advised to upgrade to v1.8.5 which is backwards compatible. There are no known workarounds for this vulnerability.

Affected products

VendorProductAffectedFixed
openfga openfga < 1.8.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250312T181707-1.1 openSUSE-SU-2025:14889-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/openfga/openfga < 1.8.5 1.8.5 GHSA-g4v5-6f5p-m38j

Advisories 1

References