ADVISORIES

GitHub Advisory Database

GHSA-cf98-j28v-49v6

OpenFGA Improper Policy Enforcement

Details

Description

In OpenFGA, when MySQL is being used as the datastore, two distinct check requests can return the same response.

Preconditions

This applies if the following preconditions are met:

  • You run OpenFGA with MySQL as the datastore
  • Your authorization decisions rely on case-sensitive user strings.

Fix

Upgrade to OpenFGA 1.18.0 or greater.

Acknowledgements

OpenFGA would like to thank @sahajamoth for the detailed report.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/openfga/openfga
All versions before 1.18.0 (fixed in 1.18.0)

References