Loading...
Skip to main content

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

MEDIUM

OpenFGA Authorization Bypass

Published February 19, 2025Updated September 10, 2026Source: osv

Summary

Overview OpenFGA v1.8.4 or previous (Helm chart < openfga-0.2.22, docker < v.1.8.5) are vulnerable to authorization bypass when certain Check and ListObject calls are executed. Am I Affected? If you are using OpenFGA v1.8.4 or previous, specifically under the following conditions, you are affected by this authorization bypass vulnerability: - Calling Check API or ListObjects with a model that has a relation [directly assignable](https://openfga.dev/docs/concepts#what-is-a-directly-related-user-type) to both [public access](https://openfga.dev/docs/concepts#what-is-type-bound-public-access) AND [userset](https://openfga.dev/docs/concepts#what-is-a-user) with the [same type](https://openfga.dev/docs/concepts#what-is-a-type), and - A type bound public access tuple is assigned to an object, and - userset tuple is not assigned to the same object, and - Check request's user field is a userset that has the same type as the type bound public access tuple's user type Fix Upgrade to v1.8.5. This upgrade is backwards compatible.

Advisory Timeline

  • First published February 19, 2025 (600 days ago).
  • Last revised September 10, 2026 — 567 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/openfga/openfga to 1.8.5 or later
go get github.com/openfga/openfga@v1.8.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.8.5

Vulnerability Classification

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

  • CWE-285
    Improper 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-25196?
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-25196?
CVE-2025-25196 affects github.com/openfga/openfga. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-25196 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-g4v5-6f5p-m38j
GO-2025-3470

Related CVEs

Check if you're affected

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

Scan Your Dependencies