# OpenFGA v1.23.0

2026-11-20 · [Original release notes](https://github.com/openfga/openfga/releases/tag/v1.23.0) · [Full summary](https://ratatosk.io/en/releases/openfga/v1.23.0)

Security 7 (high 1) · Breaking changes 3 · Enhancements 1 · Dependency updates 2 · Other changes 4

## Security (7)

### [high] Incorrect authorization results during timeouts and cancellations fixed

- 2026-11-23 · [Security advisory GHSA-637h-v79h-mvqf published after the release](https://github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf)
- Affects: Not stated in the release notes
- [GHSA-637h-v79h-mvqf](https://github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf)

During request timeouts or cancellations, `Check`, `BatchCheck`, and the specified `ListObjects` APIs could return incorrect authorization results. A cancelled `Check` could also cache an incorrect result for later requests to reuse.

Security advisory:

> In OpenFGA, the Check or BatchCheck APIs, as well as ListObjects or StreamedListObjects with `--listObjects-pipeline-enabled=false`, could return incorrect results.
> 1. Your application uses Check, BatchCheck, or ListObjects/StreamedListObjects with `--listObjects-pipeline-enabled=false` to enforce access, and
> 2. The authorization model contains a relation that (directly or through other relations) uses `and`, `or` or `but not`, and
> - A request reaches its server-side deadline (`--request-timeout`, or `--listObjects-deadline` for ListObjects) before evaluation finishes. That request could return an incorrect result.
> - Check query caching is enabled (`--check-query-cache-enabled`) and a Check is cancelled before it finishes due to a client cancellation, a deadline, or OpenFGA cancelling a branch once another branch has settled the result. The check could cache an incorrect result that later requests reuse.

https://github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf

Security advisory:

> Upgrade to OpenFGA v1.23.0 or greater.

https://github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf

### [medium] Incorrect `ListUsers` exclusion results fixed

- 2026-11-23 · [Security advisory GHSA-ff83-98vv-96mp published after the release](https://github.com/openfga/openfga/security/advisories/GHSA-ff83-98vv-96mp)
- Affects: Not stated in the release notes
- [GHSA-ff83-98vv-96mp](https://github.com/openfga/openfga/security/advisories/GHSA-ff83-98vv-96mp)

When evaluating exclusions, `ListUsers` could return over- or under-granted results depending on the exclusion pattern.

Security advisory:

> In OpenFGA, the ListUsers API could return incorrect results when it encountered exclusions.
> This applies if your application uses ListUsers to enumerate or enforce access, and the authorization model contains a relation that (directly or through other relations) matches one of these:
> 1. An exclusion whose subtracted side is itself an exclusion, and whose base also contains an exclusion, e.g., `(a but not b) but not (c but not d)`. This also applies when the base's exclusion is wrapped in `and` or `or`, e.g., `((a but not b) and e) but not (c but not d)`. (Over-grant)
> 4. An exclusion `a but not b`, where `a` can reach the same user in more than one way (directly, or through several usersets/TTUs), and at least one of those ways goes through a userset/TTU that has its own exclusion, e.g., `a: [user, group#c]` with `group.c: d but not e`. This also applies when `a` is used on its own, or inside `and` when it grants the user through a type-bound public wildcard, e.g., `a and f` with `a: [user:*, group#c]`, `group.c: g but not e` and `g: [user:*]`. (Under-grant)
> 6. An exclusion `a but not b`, where the ListUsers request reaches its deadline (`--listUsers-deadline`, default 3s) and, by then, evaluating `b` either has not finished or has hit an error. (Over-grant)
> Upgrade to OpenFGA v1.23.0 or greater.

https://github.com/openfga/openfga/security/advisories/GHSA-ff83-98vv-96mp

### [medium] Conditional-wildcard authorization flaw fixed

- 2026-11-23 · [Security advisory GHSA-m562-64rh-w5h6 published after the release](https://github.com/openfga/openfga/security/advisories/GHSA-m562-64rh-w5h6)
- Affects: Not stated in the release notes
- [GHSA-m562-64rh-w5h6](https://github.com/openfga/openfga/security/advisories/GHSA-m562-64rh-w5h6)

In affected versions, conditional wildcards combined with userset or tuple-to-userset relations could make `Check`, `BatchCheck`, or the specified `ListObjects` mode return incorrect results. Access could be denied when it should be granted, or granted when it should be denied for a relation on an exclusion’s subtracted side; this release fixes those incorrect authorization results.

Security advisory:

> In OpenFGA, the Check and BatchCheck APIs, as well as ListObjects with `listObjects-pipeline-enabled=false`, could return incorrect results.
> This applies if all of the following are present:
> 1. The authorization model contains a relation whose type restrictions allow both a type-bound public wildcard and the same user type, with at least one of them conditional (e.g. `member: [user:*, user with cond]` or `member: [user, user:* with cond]`), and
> 1. That relation is reached, directly or through other relations, via a userset or tuple-to-userset (e.g. `viewer: [group#member]`), and
> 1. An object has both a `user:*` tuple and a tuple for the specific user (stored or contextual), and the condition on one of them is not met, and
> 1. Your application uses Check, BatchCheck, or ListObjects with `listObjects-pipeline-enabled=false` to enforce access.
> Access that should be granted could be denied. If the relation is on the subtracted side of an exclusion (e.g. `allowed: viewer but not blocked` with `blocked: [user:*, user with cond]`), access that should be denied could be granted.

https://github.com/openfga/openfga/security/advisories/GHSA-m562-64rh-w5h6

Security advisory:

> Upgrade to OpenFGA v1.23.0 or greater.

https://github.com/openfga/openfga/security/advisories/GHSA-m562-64rh-w5h6

### [medium] Incorrect authorization condition results fixed

- 2026-11-23 · [Security advisory GHSA-vqr9-86pc-9932 published after the release](https://github.com/openfga/openfga/security/advisories/GHSA-vqr9-86pc-9932)
- Affects: Not stated in the release notes
- [GHSA-vqr9-86pc-9932](https://github.com/openfga/openfga/security/advisories/GHSA-vqr9-86pc-9932)

An out-of-range integer in the request context or a tuple's condition context could make a condition return an incorrect result when access was enumerated or enforced using the relation.

Security advisory:

> In OpenFGA, a condition could evaluate incorrectly when out-of-range integer values are passed as parameters.
> 1. The authorization model declares a condition with an `int` or `uint` parameter, and
> 2. A value outside the int64 range (or, for `uint`, any value above 2^63-1) is supplied for that parameter, either in the request context or a tuple's condition context, and
> 3. The condition gives a different result for that value than for the bound it is clamped to (-2^63 or 2^63-1). For example, it compares the parameter with 2^63-1 or another value at the bound, or uses it in arithmetic such as `%`, and
> 4. Your application calls an OpenFGA API to enumerate or enforce access which uses this relation.
> Upgrade to OpenFGA v1.23.0 or greater.

https://github.com/openfga/openfga/security/advisories/GHSA-vqr9-86pc-9932

### Incorrect authorization from infinite `double` values fixed

- 2026-11-23 · [Security advisory GHSA-jrgh-3793-rjvj published after the release](https://github.com/openfga/openfga/security/advisories/GHSA-jrgh-3793-rjvj)
- Affects: Not stated in the release notes
- [GHSA-jrgh-3793-rjvj](https://github.com/openfga/openfga/security/advisories/GHSA-jrgh-3793-rjvj)

When a caller could supply a string infinity value in request context or a conditioned tuple, a condition using a `double` parameter could evaluate incorrectly and cause incorrect authorization. The advisory does not specify whether access was wrongly granted or denied.

Security advisory:

> Incorrect Authorization in OpenFGA via Infinite Double Condition Parameters
> In OpenFGA, a condition could evaluate incorrectly when infinite values are passed for parameters of type `double`.
> 1. The authorization model declares a condition with a `double` parameter, and
> 2. The condition expresses its bound in a form that infinities invert, i.e., a negated comparison (e.g. `!(context.amount > 1000.0)`) or an arithmetic difference, and
> 3. A caller supplies the parameter as a string infinity spelling (e.g. `"-Inf"`) in request context or a conditioned tuple, and
> 4. Your application calls an OpenFGA API to enumerate or enforce access which uses this relation.

https://github.com/openfga/openfga/security/advisories/GHSA-jrgh-3793-rjvj

Security advisory:

> Upgrade to OpenFGA v1.23.0 or greater.

https://github.com/openfga/openfga/security/advisories/GHSA-jrgh-3793-rjvj

### grpc-gateway no longer forwards `Grpc-Metadata-*` headers by default

- Affects: HTTP requests that use `Grpc-Metadata-*` headers to supply gRPC metadata through grpc-gateway (Inferred)

Previously, the gateway automatically forwarded client headers with this prefix into gRPC metadata.

> - Various dependency updates. **Breaking (HTTP API):** grpc-gateway v2.33.0 no longer forwards `Grpc-Metadata-*` request headers to gRPC metadata, and rejects malformed query parameters (e.g. non-decimal float spellings, `field[key]` on non-map fields) that were previously accepted. [#3363](https://github.com/openfga/openfga/pull/3363)

### Known vulnerabilities fixed in the `openfga/openfga` Docker image

- Affects: the `openfga/openfga` Docker image
- [CVE-2026-78661](https://www.cve.org/CVERecord?id=CVE-2026-78661), [CVE-2026-97045](https://www.cve.org/CVERecord?id=CVE-2026-97045)

Earlier images used vulnerable `golang.org/x/net` versions, and scans found vulnerabilities involving `grpc_health_probe` and its Go dependencies. The updated image uses Go 1.27.4, `golang.org/x/net` v0.62.0, and `grpc_health_probe` v0.4.62; scans of images built from both Dockerfiles reported no vulnerabilities in the OS layer, `openfga`, or `grpc_health_probe`.

> ### Security
> - Fixed known vulnerabilities in the `openfga/openfga` Docker image by updating Go to 1.27.4, `golang.org/x/net` to v0.62.0, and the bundled `grpc_health_probe` to v0.4.62. [#3405](https://github.com/openfga/openfga/pull/3405)

## Breaking changes (3)

### Non-positive `server.WithRequestTimeout` values now retain the default

- Affects: library calls to `server.WithRequestTimeout` with values <= 0

Previously, the supplied value was used directly; `WithRequestTimeout(0)` set the planner penalty to 0. Now the server's internal timeout stays at the current timeout, 3s by default, although `RequestTimeout = 0` can still disable the timeout middleware.

Evidence: “Wire the configured value through, and make `WithRequestTimeout` ignore values <= 0. `RequestTimeout = 0` is valid config (it disables the timeout middleware), and passing 0 through would zero out the planner penalty. Keeping the 3s default in that case preserves today's behavior.” https://github.com/openfga/openfga/pull/3400

> - Fixed `--request-timeout` not reaching Check, which always used the 3s default for the planner's penalty when a strategy errors. Setting it to a non-default value now changes Check's behavior. `server.WithRequestTimeout` now ignores values <= 0 and keeps the default. [#3400](https://github.com/openfga/openfga/pull/3400)

### Required `Querier` method for custom `RelationshipTupleReader` implementations

- Affects: custom `RelationshipTupleReader` implementations when using OpenFGA as a library
- Action required: A custom `RelationshipTupleReader` implementation must provide the `Querier` method; returning `nil` is safe but skips future SQL optimizations.

Previously, more complex query operations had to be handled in the application across multiple reads. The typed AST provides a structured-query foundation for future SQL optimizations.

> - Added a typed query AST and a `Querier` interface so backends can run queries as structured statements instead of hand-built SQL. This lays the groundwork for future SQL optimizations. [#3316](https://github.com/openfga/openfga/pull/3316)
>   - **Breaking change:** This only applies if you use openfga as a library **and** implement a custom `RelationshipTupleReader`. The interface now has a `Querier` method which must be implemented (see `pkg/storage/adapter`). Returning `nil` is safe (especially for non-SQL datastores) but skips future SQL optimizations.

### HTTP gateway rejects malformed query parameters

- Affects: Setups using the HTTP gateway

Non-decimal float spellings and `field[key]` syntax on non-map fields were previously accepted in query parameters. Requests containing them are now rejected.

> - Various dependency updates. **Breaking (HTTP API):** grpc-gateway v2.33.0 no longer forwards `Grpc-Metadata-*` request headers to gRPC metadata, and rejects malformed query parameters (e.g. non-decimal float spellings, `field[key]` on non-map fields) that were previously accepted. [#3363](https://github.com/openfga/openfga/pull/3363)

## Enhancements (1)

- SQLite `Querier` implementation for typed-query ASTs

## Dependency updates (2)

2 more, none mentioning security

- `` - Moved the CEL dependency from `github.com/google/cel-go` to its new module path `cel.dev/cel-go` (v0.33.2), as the upstream project has relocated to `github.com/cel-expr/cel-go`. Condition compilation errors no longer end with ` (in container '')`. [#3391](https://github.com/openfga/openfga/pull/3391) ``
- `` - Various dependency updates. **Breaking (HTTP API):** grpc-gateway v2.33.0 no longer forwards `Grpc-Metadata-*` request headers to gRPC metadata, and rejects malformed query parameters (e.g. non-decimal float spellings, `field[key]` on non-map fields) that were previously accepted. [#3363](https://github.com/openfga/openfga/pull/3363) ``

## Other changes (4)

- Condition compilation errors omit the empty-container suffix
- PostgreSQL lookup reads only the latest authorization model
- Graph evaluation and iterator error handling improved
- Check planner penalty now uses configured `--request-timeout`

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
