GHSA-jwvj-g8pc-cx45MediumCVSS 5.0
OpenFGA's BatchCheck within-request deduplication produces incorrect authorization decisions via list-value cache-key collision
🔗 CVE IDs covered (1)
📋 Description
Description
In OpenFGA, under specific conditions, BatchCheck calls with multiple checks sent for the same object, relation, and user combination can result in improper policy enforcement.
Am I affected?
You are affected if you meet the following preconditions:
- You execute BatchCheck operations which rely on context.
- Multiple checks are sent within a single BatchCheck operation for the same user/object/relation combination, each containing context.
- The contexts between those checks differ in a specific way
Fix
Upgrade to OpenFGA v1.14.0
Acknowledgement
OpenFGA would like to thank @bugbunny-research for the discovery and detailed report.
🎯 Affected products1
- go/github.com/openfga/openfga:>= 1.8.0, <= 1.13.1