Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/openfga/openfga
  4. ›
  5. CVE-2025-25196

CVE-2025-25196: OpenFGA Authorization Bypass

February 19, 2025

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 to both public access AND userset with the same 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.

References

  • github.com/advisories/GHSA-g4v5-6f5p-m38j
  • github.com/openfga/openfga
  • github.com/openfga/openfga/commit/0aee4f47e0c642de78831ceb27bb62b116f49588
  • github.com/openfga/openfga/security/advisories/GHSA-g4v5-6f5p-m38j
  • nvd.nist.gov/vuln/detail/CVE-2025-25196

Code Behaviors & Features

Detect and mitigate CVE-2025-25196 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.5

Fixed versions

  • 1.8.5

Solution

Upgrade to version 1.8.5 or above.

Weakness

  • CWE-285: Improper Authorization

Source file

go/github.com/openfga/openfga/CVE-2025-25196.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.