MediumGHSA-g3pg-frfm-pr2mCVE-2026-61709GO-2026-6488
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
Published 16 Sept 2026 · Updated 28 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.1
- Fixed in
- 1.18.1
Update to the fixed version for your release line, for example:
go get github.com/openfga/openfga@v1.18.1Details
Description
In OpenFGA, the ListUsers API could incorrectly return a user who should have been excluded.
Preconditions
This applies if all of the following are present:
- The authorization model contains a relation defined as an intersection (and) where at least one operand is an exclusion of the form base but not excluded: e.g.
rel1: (public_user but not blocked) and rel2 - The base side of that exclusion is granted through a type-bound public wildcard (e.g. user:*).
- A user excluded by the but not clause is also granted, via a concrete tuple, through another operand of the intersection.
- Your application uses ListUsers to enumerate or enforce access
Fix
Upgrade to OpenFGA v1.18.1 or greater.
Acknowledgements
OpenFGA would like to thank @5ud0er for the detailed report.
Is GHSA-g3pg-frfm-pr2m 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-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-55170OpenFGA Improper Policy Enforcement 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
- LowCVE-2026-40293OpenFGA: Unauthenticated playground endpoint discloses preshared API key in HTML response in github.com/openfga/openfga · 25 Jun 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.