CVE-2024-42473: OpenFGA Authorization Bypass
Overview OpenFGA v1.5.7 and v1.5.8 are vulnerable to authorization bypass when calling Check API with a model that uses but not and from expressions and a userset. Fix - If you are using OpenFGA within Docker or as a Go library, as a binary, or through Docker, upgrade to v1.5.9 as soon as possible - If using Helm chart, upgrade to 0.2.12 as soon as possible. This fix is backward compatible.
Published Aug 9, 2024 · Updated Aug 14, 2024
Affected packages
github.com/openfga/openfga
- Ecosystem
- Go
- Affected
- >= 1.5.7, < 1.5.9
- Fixed in
- 1.5.9
- Check
go list -m github.com/openfga/openfga
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Overview
OpenFGA v1.5.7 and v1.5.8 are vulnerable to authorization bypass when calling Check API with a model that uses but not and from expressions and a userset.
Fix
- If you are using OpenFGA within Docker or as a Go library, as a binary, or through Docker, upgrade to v1.5.9 as soon as possible
- If using Helm chart, upgrade to 0.2.12 as soon as possible.
This fix is backward compatible.
Credited to sidneibjunior.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-61709
OpenFGA: ListUsers returns a deliberately-excluded user when a `but not` exclusion under a type-bound wildcard is intersected (`and`) with another relation that also grants that user
medium5.3Sep 16, 2026CVE-2026-55689
OpenFGA: OIDC audience validation skipped when --authn-oidc-audience is unset
medium6.8Jun 19, 2026CVE-2026-55170
OpenFGA Improper Policy Enforcement
low5.4Jun 18, 2026CVE-2026-48096
OpenFGA has cache-key delimiter injection in shared-iterator and v2 iterator that caches enables intra-store authorization-decision poisoning
medium5.0Jun 11, 2026CVE-2026-41131
OpenFGA has Improper Policy Enforcement
medium5.0Apr 22, 2026CVE-2026-40293
OpenFGA: Unauthenticated playground endpoint discloses preshared API key in HTML response
medium6.5Apr 8, 2026
