# CRI-O v1.34.12

2026-08-24 · [元のリリースノート](https://github.com/cri-o/cri-o/releases/tag/v1.34.12) · [全体のまとめ](https://ratatosk.io/ja/releases/cri-o/v1.34.12)

セキュリティ 3 (critical 1 · high 1) · 重大な修正 1

## セキュリティ (3)

### [critical] CRI-O サンドボックス状態汚染の修正

- 影響対象: リリースノートに記載なし
- 追加の対応: CRI-O のアップグレード中に、ノード上の実行中コンテナをすべて消去すること
- [CVE-2026-62146](https://www.cve.org/CVERecord?id=CVE-2026-62146), [GHSA-6wmc-5877-hgc9](https://github.com/cri-o/cri-o/security/advisories/GHSA-6wmc-5877-hgc9)

任意のアノテーションを付けて Pod を作成できる攻撃者が、永続化されたサンドボックスの状態を汚染できました。CRI-O の再起動またはノードの再起動後、影響を受けたサンドボックス内に再作成されたコンテナが、攻撃者の制御するホストパスをマウントする可能性があります。その結果、CRI-O ソケットが露出し、コンテナからの脱出につながるおそれがあります。

セキュリティアドバイザリ:

> A user who can create a Pod with arbitrary annotations can poison persisted CRI-O sandbox state. After a CRI-O restart or node reboot, containers recreated in the affected sandbox may mount attacker-controlled host paths, potentially exposing the CRI-O socket and enabling container escape.
> The users must wipe all running containers on the nodes when upgrading CRI-O
> Admission webhook rejecting Pod annotations and labels with the io.kubernetes.cri-o. prefix. For example, a validating webhook that denies any Pod whose metadata.annotations or metadata.labels contain keys starting with io.kubernetes.cri-o.

https://github.com/cri-o/cri-o/security/advisories/GHSA-6wmc-5877-hgc9

セキュリティアドバイザリ:

> CRI-O sandbox state poisoning after restart can expose crio.sock

https://github.com/cri-o/cri-o/security/advisories/GHSA-6wmc-5877-hgc9

### [high] CRI-O `HOME` の改行挿入による回避の修正

- 影響対象: コンテナの `HOME` 環境変数
- [CVE-2022-4318](https://www.cve.org/CVERecord?id=CVE-2022-4318), [CVE-2026-15809](https://www.cve.org/CVERecord?id=CVE-2026-15809), [GHSA-9gq4-2485-q63q](https://github.com/advisories/GHSA-9gq4-2485-q63q)

コンテナの環境変数を設定できる攻撃者が `HOME` に実際の改行を含めた場合、チェックは文字としての `\n` だけに一致し、`/etc/passwd` に任意の行を追加できました。CRI-O は、実際の改行または復帰文字のバイトを含む `HOME` の値をエラーとして拒否するようになりました。これらのバイトを含まない値は、このチェックでは拒否されません。

> #### Uncategorized
>  - Fixed CVE-2026-15809: bypass of CVE-2022-4318 fix allowing /etc/passwd injection via newline characters in the HOME environment variable. The original check incorrectly matched the literal string "\n" instead of actual newline bytes. (#10217, @aksjadha)

### [medium] 不正な OCI イメージエントリーによる CRI-O デーモンのクラッシュを修正

- 影響対象: リリースノートに記載なし
- [CVE-2026-17113](https://www.cve.org/CVERecord?id=CVE-2026-17113), [GHSA-v5pw-cc82-qrf6](https://github.com/cri-o/cri-o/security/advisories/GHSA-v5pw-cc82-qrf6)

環境変数を持たないコンテナ仕様で、環境変数のエントリーに `=` がない細工された OCI イメージを使用すると、デーモンがクラッシュすることがありました。このリリースでは、このクラッシュを防止します。

セキュリティアドバイザリ:

> A crafted OCI image with a malformed environment variable entry can crash the CRI-O daemon.
> This only occurs when no environment variables are set in the container spec. In standard Kubernetes deployments, the kubelet always injects default environment variables, so this issue is not triggered through the normal Kubernetes API path. Environments where containers are created without default environment variables, such as direct CRI API callers, may be affected.
> - Use a standard Kubernetes setup where the kubelet manages container lifecycle. The kubelet always injects default environment variables, which prevents this issue from being triggered.
> - Restrict container images to trusted registries using admission controllers (e.g. Kyverno, OPA/Gatekeeper).
> - Validate OCI image configurations before publishing, rejecting any image whose config.Env contains entries without a = delimiter.

https://github.com/cri-o/cri-o/security/advisories/GHSA-v5pw-cc82-qrf6

セキュリティアドバイザリ:

> Denial of Service (DoS) — CRI-O daemon crash via crafted OCI image.

https://github.com/cri-o/cri-o/security/advisories/GHSA-v5pw-cc82-qrf6

## 重大な修正 (1)

### CRI-O 起動時のユーザー名前空間マッピングの復元

- 影響対象: ユーザー名前空間と ID マップマウントを使用するコンテナー

この修正以前は、名前空間のマッピングが読み込まれていなかったため、CRI-O の再起動後や、コンテナーの実プロセスが `kill 1` で終了させられた際に、これらのコンテナーで「permission denied」が発生することがありました。マッピングを復元することで、こうした失敗を防げます。

>  - User namespace UID/GID mappings are now correctly restored after CRI-O restart, fixing "permission denied" errors for containers using user namespaces with ID-mapped mounts. (#10231, @Chandan9112)

---

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