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

CVE-2025-48371: OpenFGA Authorization Bypass

May 23, 2025 (updated March 30, 2026)

Overview

OpenFGA v1.8.0 to v1.8.12 ( openfga-0.2.16 <= Helm chart <= openfga-0.2.31, v1.8.0 <= docker <= v.1.8.12) are vulnerable to authorization bypass when certain Check and ListObject calls are executed.

Am I Affected?

If you are using OpenFGA v1.8.0 to v1.8.12, specifically under the following conditions, you are affected by this authorization bypass vulnerability:

  • Calling Check API or ListObjects with an authorization model that has a relationship directly assignable by both type bound public access and userset, and
  • There are check or list object queries with contextual tuples for the relationship that can be directly assignable by both type bound public access and userset, and
  • Those contextual tuples’s user field is an userset, and
  • Type bound public access tuples are not assigned to the relationship

Fix

Upgrade to v1.8.13. This upgrade is backwards compatible.

Acknowledgments

OpenFGA would like to thank @udyvish for discovering this vulnerability.

References

  • github.com/advisories/GHSA-c72g-53hw-82q7
  • github.com/openfga/openfga
  • github.com/openfga/openfga/commit/e5960d4eba92b723de8ff3a5346a07f50c1379ca
  • github.com/openfga/openfga/security/advisories/GHSA-c72g-53hw-82q7
  • nvd.nist.gov/vuln/detail/CVE-2025-48371
  • pkg.go.dev/vuln/GO-2025-3707

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.8.0 before 1.8.13

Fixed versions

  • 1.8.13

Solution

Upgrade to version 1.8.13 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 10 Nov 2026 12:16:58 +0000.