Advisory

GHSA-mgh9-4mwp-fg55

Also known as: CVE-2025-55213, GO-2025-3894

Summary

OpenFGA Authorization Bypass

Details

Overview
OpenFGA v1.9.3 to v1.9.4 ( openfga-0.2.40 <= Helm chart <= openfga-0.2.41, v1.9.3 <= docker <= v.1.9.4) are vulnerable to improper policy enforcement when certain Check and ListObject calls are executed.

Am I Affected?
You are affected by this vulnerability if you are using OpenFGA v1.9.3 to v1.9.4, specifically under the following preconditions:

  • Calling Check API or ListObjects with an authorization model that has a relationship directly assignable by more than 1 userset with same type, and
  • There are check or list object queries that rely on the above relationship, and
  • You have userset tuples that are assigned to the above relationship

Fix
Upgrade to v1.9.5. This upgrade is backwards compatible.

Workaround
Downgrade to v1.9.2 with enable-check-optimizations removed from OPENFGA_EXPERIMENTALS

Acknowledgments
OpenFGA would like Dominic Harries and rrozza-apolitical to thank for discovering this vulnerability.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-18 21:00 UTC
Modified
2025-08-29 20:35 UTC

Affected packages and fixes

github.com/openfga/openfga

Go · All systems

Affected

  • introduced 1.9.3, fixed 1.9.5 (semver)

Fixed versions

1.9.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences