ADVISORIES

GitHub Advisory Database

GHSA-57j5-qwp2-vqp6

OpenFGA has Improper Policy Enforcement

Details

Description

In OpenFGA, in specific scenarios, models using conditions with caching enabled can result in two different check requests producing the same cache key. This could result in OpenFGA reusing an earlier cached result for a subsequent request.

Am I Affected?

Users are affected if their applications meet the following preconditions:

  • The model has relations which rely on condition evaluation.
  • Caching is enabled.

Fix

Upgrade to OpenFGA v1.14.1.

Acknowledgement

OpenFGA would like to thank @bugbunny-research for the detailed report.

Affected packages

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

References