# Tekton v1.6.2

2026-04-21 · [元のリリースノート](https://github.com/tektoncd/pipeline/releases/tag/v1.6.2) · [全体のまとめ](https://ratatosk.io/ja/releases/tekton/v1.6.2)

セキュリティ 5 (high 2) · 重大な修正 1 · 依存関係の更新 1 · その他の変更 5

## セキュリティ (5)

### [high] ユーザー指定サーバーへの Git resolver トークン漏えいの修正

- 影響対象: システム設定の Git API トークンを使用する Git resolver の API モード
- [CVE-2026-40161](https://www.cve.org/CVERecord?id=CVE-2026-40161), [GHSA-wjxp-xrpv-xpff](https://github.com/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff)

TaskRun の作成者が独自の `token` を指定せず、異なる `serverURL` を指定した場合、resolver がシステム設定の Git API トークンをそのサーバーに送信する可能性がありました。今後は、ユーザーが独自の `token` を指定しない限り、このようなリクエストは拒否されます。

> - **[GHSA-wjxp-xrpv-xpff](https://github.com/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff)** / [CVE-2026-40161](https://www.cve.org/CVERecord?id=CVE-2026-40161) (HIGH): Git resolver API mode leaks system-configured API token to user-controlled `serverURL`. A user who can create TaskRuns can exfiltrate the system Git API token by pointing the resolver at an attacker-controlled server.

### [high] Git resolver の revision 引数注入の修正

- 影響対象: 現行または非推奨の Git resolver を使用するデプロイメント
- 追加の対応: 修正以外の追加保護なし
- [CVE-2026-40938](https://www.cve.org/CVERecord?id=CVE-2026-40938), [GHSA-94jr-7pqp-xhcq](https://github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcq)

ユーザー指定の `revision` が `-` で始まる場合、`git fetch` のフラグとして解釈され、引数注入が発生し、resolver Pod 上でリモートコードが実行される可能性がありました。引数注入につながる経路は修正されていますが、このような revision が現在どのように処理されるかはリリースノートに記載されていません。

> - **[GHSA-94jr-7pqp-xhcq](https://github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcq)** / [CVE-2026-40938](https://www.cve.org/CVERecord?id=CVE-2026-40938) (HIGH): Git resolver unsanitized revision parameter enables argument injection. A malicious `revision` value can inject arbitrary flags into the `git` CLI, potentially leading to remote code execution on the resolver pod.

### [medium] Tekton `VolumeMount` のパス制限回避の修正

- 影響対象: `v1` または `v1beta1` の `VolumeMount` パスで、`/tekton/home` を越えて制限対象の `/tekton/` 内部パスに到達する Tekton Task または TaskRun
- [CVE-2026-40923](https://www.cve.org/CVERecord?id=CVE-2026-40923), [GHSA-rx35-6rhx-7858](https://github.com/tektoncd/pipeline/security/advisories/GHSA-rx35-6rhx-7858)

`/tekton/home/../results` のようなパスはプレフィックスチェックを通過し、実行時に `/tekton/results` に解決されることがありました。その結果、マウントによって内部パスが上書きされ、下流パイプラインが信頼する偽のタスク結果が渡される可能性がありました。このパストラバーサルによる回避は機能しなくなりました。

> - **[GHSA-rx35-6rhx-7858](https://github.com/tektoncd/pipeline/security/advisories/GHSA-rx35-6rhx-7858)** / [CVE-2026-40923](https://www.cve.org/CVERecord?id=CVE-2026-40923) (Medium): VolumeMount path restriction bypass via missing filepath normalization. Paths like `/tekton/../sensitive` bypass the `/tekton/` prefix restriction check.

### [medium] `VerificationPolicy` の部分文字列一致による回避の修正

- 影響対象: アンカーなしの `VerificationPolicy` パターンを使った信頼済みリソースの検証
- [CVE-2026-25542](https://www.cve.org/CVERecord?id=CVE-2026-25542), [GHSA-rmx9-2pp3-xhcr](https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr)

`refSource.URI` に影響を与えられる攻撃者が、アンカーのないパターンをソースの一部だけに一致させ、意図しないポリシーとの一致を引き起こすことで、署名のないリソースを検証に通過させる可能性がありました。

> - **[GHSA-rmx9-2pp3-xhcr](https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr)** / [CVE-2026-25542](https://www.cve.org/CVERecord?id=CVE-2026-25542) (Medium): VerificationPolicy regex pattern bypass via substring matching. Unanchored patterns allow partial matches, letting unsigned resources pass verification.

### [medium] HTTP resolver の無制限なレスポンス読み取りの修正

- 影響対象: HTTP resolver を使用する構成 (推定)
- [CVE-2026-40924](https://www.cve.org/CVERecord?id=CVE-2026-40924), [GHSA-m2cx-gpqf-qf74](https://github.com/tektoncd/pipeline/security/advisories/GHSA-m2cx-gpqf-qf74)

URL から取得した非常に大きなレスポンスによって resolver pod のメモリが枯渇し、OOM によるサービス拒否が発生する可能性がありました。レスポンスボディの読み取りは 1 MiB に制限されましたが、それを超えるレスポンスの扱いは記載されていません。

> - **[GHSA-m2cx-gpqf-qf74](https://github.com/tektoncd/pipeline/security/advisories/GHSA-m2cx-gpqf-qf74)** / [CVE-2026-40924](https://www.cve.org/CVERecord?id=CVE-2026-40924) (Medium): HTTP resolver unbounded response body read enables OOM denial of service. A malicious URL returning a very large response can exhaust the resolver pod's memory. Response body is now limited to 1 MiB.

## 重大な修正 (1)

### 型エラー時の破損したリゾルバーキャッシュエントリーの削除

- 影響対象: リゾルバーキャッシュを使用する構成 (推定)

> * :bug: Remove corrupted resolver cache entries on type error

## 依存関係の更新 (1)

### Go 1.24.13への更新

- [CVE-2025-61726](https://www.cve.org/CVERecord?id=CVE-2025-61726), [CVE-2025-61728](https://www.cve.org/CVERecord?id=CVE-2025-61728), [CVE-2025-61729](https://www.cve.org/CVERecord?id=CVE-2025-61729)

この更新により、Go の脆弱性が3件修正されます。

> * :bug: Bump Go to 1.24.13 to fix CVE-2025-61728, CVE-2025-61726, CVE-2025-61729

## その他の変更 (5)

- レジストリーイメージの固定
- ログベースのキャッシュアサーションの緩和
- `prometheus/common` v0.62.0 に対する `TextParser` の利用互換性修正
- singleflight を用いた Resolver キャッシュの競合状態の修正
- Resolver cache configstore とフレームワーク実装の整合

---

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