Loading...
Skip to main content

CVE-2025-55213 — Vulnerability in github.com/openfga/openfga — CVE...

MEDIUM

OpenFGA Authorization Bypass

Published August 18, 2025Updated August 29, 2025Source: osv

Summary

### 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](https://openfga.dev/docs/concepts#what-is-an-authorization-model) that has a relationship directly assignable by more than 1 [userset](https://openfga.dev/docs/modeling/building-blocks/usersets) with same [type](https://openfga.dev/docs/concepts#what-is-a-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.

Advisory Timeline

  • First published August 18, 2025 (420 days ago).
  • Last revised August 29, 2025 — 11 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/openfga/openfga to 1.9.5 or later
go get github.com/openfga/openfga@v1.9.5

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/openfga/openfga
go
All versions1.9.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-863
    Incorrect AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2025-55213?
OpenFGA Authorization Bypass This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.5/10).
How do I check if my project is affected by CVE-2025-55213?
CVE-2025-55213 affects github.com/openfga/openfga. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-55213 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.5

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-mgh9-4mwp-fg55
GO-2025-3894

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies