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

CVE-2024-31452: OpenFGA Authorization Bypass

April 16, 2024

Overview

Some end users of OpenFGA v1.5.0 or later are vulnerable to authorization bypass when calling Check or ListObjects APIs.

Am I Affected?

You are very likely affected if your model involves exclusion (e.g. a but not b) or intersection (e.g. a and b) and you have any cyclical relationships. If you are using these, please update as soon as possible.

Fix

Update to v1.5.3

Backward Compatibility

This update is backward compatible.

References

  • github.com/advisories/GHSA-8cph-m685-6v6r
  • github.com/openfga/openfga
  • github.com/openfga/openfga/commit/b6a6d99b2bdbf8c3781503989576076289f48ed2
  • github.com/openfga/openfga/security/advisories/GHSA-8cph-m685-6v6r
  • nvd.nist.gov/vuln/detail/CVE-2024-31452

Code Behaviors & Features

Detect and mitigate CVE-2024-31452 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 starting from 1.5.0 before 1.5.3

Fixed versions

  • 1.5.3

Solution

Upgrade to version 1.5.3 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/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-2024-31452.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:47 +0000.