# OpenFGA v1.23.0

2026-11-20 · [릴리스 노트 원문](https://github.com/openfga/openfga/releases/tag/v1.23.0) · [전체 정리](https://ratatosk.io/ko/releases/openfga/v1.23.0)

보안 7 (high 1) · 호환성 변경 3 · 기능·개선 1 · 의존성 갱신 2 · 기타 4

## 보안 (7)

### [high] 타임아웃 및 취소 시 잘못된 인가 결과 반환 문제 수정

- 2026-11-23 · [릴리스 뒤 보안 공지 GHSA-637h-v79h-mvqf 공개](https://github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf)
- 영향 대상: 릴리스 노트에 언급 없음
- [GHSA-637h-v79h-mvqf](https://github.com/openfga/openfga/security/advisories/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.

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

보안 공지:

> Upgrade to OpenFGA v1.23.0 or greater.

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

### [medium] `ListUsers` 제외 결과 오류 수정

- 2026-11-23 · [릴리스 뒤 보안 공지 GHSA-ff83-98vv-96mp 공개](https://github.com/openfga/openfga/security/advisories/GHSA-ff83-98vv-96mp)
- 영향 대상: 릴리스 노트에 언급 없음
- [GHSA-ff83-98vv-96mp](https://github.com/openfga/openfga/security/advisories/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.

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

### [medium] 조건부 와일드카드 권한 부여 결함 수정

- 2026-11-23 · [릴리스 뒤 보안 공지 GHSA-m562-64rh-w5h6 공개](https://github.com/openfga/openfga/security/advisories/GHSA-m562-64rh-w5h6)
- 영향 대상: 릴리스 노트에 언급 없음
- [GHSA-m562-64rh-w5h6](https://github.com/openfga/openfga/security/advisories/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.

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

보안 공지:

> Upgrade to OpenFGA v1.23.0 or greater.

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

### [medium] 권한 부여 조건의 잘못된 결과 수정

- 2026-11-23 · [릴리스 뒤 보안 공지 GHSA-vqr9-86pc-9932 공개](https://github.com/openfga/openfga/security/advisories/GHSA-vqr9-86pc-9932)
- 영향 대상: 릴리스 노트에 언급 없음
- [GHSA-vqr9-86pc-9932](https://github.com/openfga/openfga/security/advisories/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.

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

### 무한대 `double` 값으로 인한 인가 오류 수정

- 2026-11-23 · [릴리스 뒤 보안 공지 GHSA-jrgh-3793-rjvj 공개](https://github.com/openfga/openfga/security/advisories/GHSA-jrgh-3793-rjvj)
- 영향 대상: 릴리스 노트에 언급 없음
- [GHSA-jrgh-3793-rjvj](https://github.com/openfga/openfga/security/advisories/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.

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

보안 공지:

> Upgrade to OpenFGA v1.23.0 or greater.

https://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)

### `openfga/openfga` Docker 이미지의 알려진 취약점 수정

- 영향 대상: `openfga/openfga` Docker 이미지
- [CVE-2026-78661](https://www.cve.org/CVERecord?id=CVE-2026-78661), [CVE-2026-97045](https://www.cve.org/CVERecord?id=CVE-2026-97045)

이전 이미지에서는 취약한 `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)

## 호환성 변경 (3)

### 0 이하의 `server.WithRequestTimeout` 값에서 기본값 유지

- 영향 대상: 0 이하의 값으로 `server.WithRequestTimeout`을 호출하는 라이브러리

이전에는 전달한 값을 그대로 사용해 `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.” 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)

### 사용자 정의 `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.

### HTTP 게이트웨이의 잘못된 쿼리 파라미터 거부

- 영향 대상: HTTP 게이트웨이를 사용하는 구성

이전에는 쿼리 파라미터에서 부동소수점 값의 비십진 표기와 map이 아닌 필드에 사용된 `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)

## 기능·개선 (1)

- SQLite typed-query AST용 `Querier` 구현

## 의존성 갱신 (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)

- 조건 컴파일 오류의 빈 컨테이너 접미사 누락
- PostgreSQL 조회 시 최신 인가 모델만 읽음
- 그래프 평가 및 이터레이터 오류 처리 개선
- Check 플래너 페널티에 설정된 `--request-timeout` 적용

---

정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.
