Advisory

GHSA-8cph-m685-6v6r

Also known as: CVE-2024-31452, GO-2024-2729

Summary

OpenFGA Authorization Bypass

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-04-16 22:57 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/openfga/openfga

Go · All systems

Affected

  • introduced 1.5.0, fixed 1.5.3 (semver)

Fixed versions

1.5.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences