OpenFGA Improper Policy Enforcement
Published 18 Jun 2026 · Updated 10 Sept 2026
Is your project on an affected github.com/openfga/openfga?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.18.0
- Fixed in
- 1.18.0
go get github.com/openfga/openfga@v1.18.0Details
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:
1. You run OpenFGA with MySQL as the datastore 2. 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.
Is GHSA-cf98-j28v-49v6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/openfga/openfga, and gives you the command that fixes it.
More advisories for github.com/openfga/openfga
- LowCVE-2026-61709OpenFGA: 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 in github.com/openfga/openfga · 28 Sept 2026
- MediumCVE-2026-61709OpenFGA: 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 · 16 Sept 2026
- LowCVE-2026-55689OpenFGA: OIDC audience validation skipped when --authn-oidc-audience is unset in github.com/openfga/openfga · 25 Jun 2026
- LowCVE-2026-34972OpenFGA's BatchCheck within-request deduplication produces incorrect authorization decisions via list-value cache-key collision in github.com/openfga/openfga · 25 Jun 2026
- LowCVE-2026-48096OpenFGA has cache-key delimiter injection in shared-iterator and v2 iterator that caches enables intra-store authorization-decision poisoning in github.com/openfga/openfga · 25 Jun 2026
- LowCVE-2026-41131OpenFGA has Improper Policy Enforcement in github.com/openfga/openfga · 25 Jun 2026
References
- Linkgithub.com/openfga/openfga/security/advisories/GHSA-cf98-j28v-49v6
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-55170
- Linkgithub.com/openfga/helm-charts/commit/96d5517a2693ff5def451dee7d6b9d1baeb281f8
- Linkgithub.com/openfga/openfga/commit/a2e0dbefc3e01a95c785f81a3563bc6571b08b11
- Linkgithub.com/openfga/helm-charts/releases/tag/openfga-0.3.9
- Packagegithub.com/openfga/openfga
- Linkgithub.com/openfga/openfga/releases/tag/v1.18.0
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.