RATATOSK
← リリース一覧

OpenFGAv1.23.0

セキュリティ 7破壊的変更 3機能・改善 1依存関係の更新 2その他の変更 4

OpenFGAの通知を受け取る

週次メールは確認すべき変更がある週だけ、深刻度がcriticalのセキュリティアドバイザリは即時に届きます。

セキュリティ7high1medium3

タイムアウト/キャンセル時の誤った認可結果の修正

high

2026-11-23 リリース後にセキュリティアドバイザリGHSA-637h-v79h-mvqfが公開

影響対象リリースノートに記載なし

リクエストがタイムアウトまたはキャンセルされた際、Check、BatchCheck、および指定された ListObjects API が誤った認可結果を返すことがありました。キャンセルされた Check は、後続のリクエストで再利用される誤った結果をキャッシュすることもありました。

原文を表示
セキュリティアドバイザリ
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.
github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf
セキュリティアドバイザリ
Upgrade to OpenFGA v1.23.0 or greater.
github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf

ListUsers の除外結果の誤りを修正

medium

2026-11-23 リリース後にセキュリティアドバイザリGHSA-ff83-98vv-96mpが公開

影響対象リリースノートに記載なし

除外を評価する際、除外パターンによっては、ListUsers が許可対象のユーザーを多く返しすぎたり、少なく返しすぎたりすることがありました。

原文を表示
セキュリティアドバイザリ
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.
github.com/openfga/openfga/security/advisories/GHSA-ff83-98vv-96mp

条件付きワイルドカード認可の不具合修正

medium

2026-11-23 リリース後にセキュリティアドバイザリGHSA-m562-64rh-w5h6が公開

影響対象リリースノートに記載なし

影響を受けるバージョンでは、条件付きワイルドカードと userset または tuple-to-userset のリレーションを組み合わせると、Check、BatchCheck、または指定された ListObjects モードが誤った結果を返すことがありました。除外条件で差し引かれる側のリレーションでは、本来許可されるアクセスが拒否されたり、本来拒否されるアクセスが許可されたりする可能性がありました。このリリースでは、こうした認可結果の誤りを修正しています。

原文を表示
セキュリティアドバイザリ
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.
github.com/openfga/openfga/security/advisories/GHSA-m562-64rh-w5h6
セキュリティアドバイザリ
Upgrade to OpenFGA v1.23.0 or greater.
github.com/openfga/openfga/security/advisories/GHSA-m562-64rh-w5h6

認可条件が誤った結果を返す問題の修正

medium

2026-11-23 リリース後にセキュリティアドバイザリGHSA-vqr9-86pc-9932が公開

影響対象リリースノートに記載なし

リクエストコンテキストまたはタプルの条件コンテキストに範囲外の整数が含まれていると、アクセスを列挙する場合やリレーションに基づいてアクセスを強制する場合に、条件が誤った結果を返すことがありました。

原文を表示
セキュリティアドバイザリ
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.
github.com/openfga/openfga/security/advisories/GHSA-vqr9-86pc-9932

無限大の double 値による認可誤りの修正

2026-11-23 リリース後にセキュリティアドバイザリGHSA-jrgh-3793-rjvjが公開

影響対象リリースノートに記載なし

呼び出し元がリクエストコンテキストまたは条件付きタプルで文字列の無限大値を指定できる場合、double パラメーターを使用する条件の評価が誤り、認可を誤る可能性がありました。勧告では、アクセスが誤って許可されたのか拒否されたのかは明記されていません。

原文を表示
セキュリティアドバイザリ
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.
github.com/openfga/openfga/security/advisories/GHSA-jrgh-3793-rjvj
セキュリティアドバイザリ
Upgrade to OpenFGA v1.23.0 or greater.
github.com/openfga/openfga/security/advisories/GHSA-jrgh-3793-rjvj

grpc-gateway における Grpc-Metadata-* ヘッダーのデフォルト転送停止

影響対象grpc-gateway 経由で gRPC メタデータを渡すために Grpc-Metadata-* ヘッダーを使用する HTTP リクエスト(推定)

従来、ゲートウェイはこのプレフィックスを持つクライアントヘッダーを gRPC メタデータに自動転送していました。

原文を表示
- 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)
github.com/openfga/openfga/releases/tag/v1.23.0

openfga/openfga Docker イメージの既知の脆弱性を修正

影響対象openfga/openfga Docker イメージ

以前のイメージでは脆弱性のある golang.org/x/net のバージョンが使われており、スキャンでは grpc_health_probe とその Go 依存関係に関する脆弱性も見つかっていました。更新後のイメージでは Go 1.27.4、golang.org/x/net v0.62.0、grpc_health_probe v0.4.62 が使われています。両方の Dockerfile からビルドしたイメージのスキャンでは、OS レイヤー、openfga、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)
github.com/openfga/openfga/releases/tag/v1.23.0

破壊的変更3

server.WithRequestTimeout の 0 以下の値で既定値を維持

影響対象server.WithRequestTimeout に 0 以下の値を指定するライブラリー呼び出し

以前は指定した値がそのまま使われ、WithRequestTimeout(0) ではプランナーのペナルティが 0 に設定されていました。現在はサーバー内部のタイムアウトが現在の値に保たれ、既定値は 3s です。ただし、RequestTimeout = 0 でタイムアウトミドルウェアを無効にすることは引き続き可能です。

根拠“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.” 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)
github.com/openfga/openfga/releases/tag/v1.23.0

カスタム RelationshipTupleReader 実装に必須の Querier メソッド

影響対象OpenFGA をライブラリーとして使用する際の、カスタム RelationshipTupleReader 実装
必要な対応カスタム RelationshipTupleReader 実装では Querier メソッドを提供する必要があります。nil を返しても安全ですが、今後の SQL 最適化は行われません。

これまでは、より複雑なクエリー操作を複数回の読み取りに分けてアプリケーション側で処理する必要がありました。型付き AST は、今後の SQL 最適化に向けた構造化クエリーの基盤となります。

原文を表示
- 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.
github.com/openfga/openfga/releases/tag/v1.23.0

HTTP ゲートウェイによる不正なクエリパラメーターの拒否

影響対象HTTP ゲートウェイを使用する構成

これまで、10進数ではない浮動小数点数の表記や、マップ型以外のフィールドでの field[key] 構文がクエリパラメーターで受け入れられていました。現在は、これらを含むリクエストは拒否されます。

原文を表示
- 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)
github.com/openfga/openfga/releases/tag/v1.23.0

機能・改善1

依存関係の更新2

    ほか2件(いずれもセキュリティへの言及なし)
    • - 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)
    その他の変更4
    • 条件コンパイルエラーにおける空コンテナー接尾辞の省略
      - 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)
      github.com/openfga/openfga/releases/tag/v1.23.0
    • PostgreSQL で最新の認可モデルのみを参照
      - PostgreSQL: `FindLatestAuthorizationModel` reads only the rows of the store's latest model instead of every model version, so Check and other requests without `authorization_model_id` no longer slow down as the model history grows. [#3377](https://github.com/openfga/openfga/pull/3377)
      github.com/openfga/openfga/releases/tag/v1.23.0
    • グラフ評価とイテレーターのエラー処理の改善
      - Improved error handling in graph evaluation and iterator processing.
      github.com/openfga/openfga/releases/tag/v1.23.0
    • 設定済みの --request-timeout をプランナーのペナルティに適用
      - 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)
      github.com/openfga/openfga/releases/tag/v1.23.0

    整理した内容は AI が作成するため誤っている可能性があり、無保証で提供されます。