# Tekton v1.0.1

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

セキュリティ 2 (critical 1) · 破壊的変更 1 · 重大な修正 3 · 機能・改善 1 · 依存関係の更新 1 · その他の変更 12

## セキュリティ (2)

### [critical] Git リゾルバーのパストラバーサル修正

- 影響対象: Git リゾルバーを使用し、テナントが `ResolutionRequests` を作成できるインストール環境
- [CVE-2026-33211](https://www.cve.org/CVERecord?id=CVE-2026-33211), [GHSA-j5q5-j9gm-2w5c](https://github.com/tektoncd/pipeline/security/advisories/GHSA-j5q5-j9gm-2w5c)

このリリース以前は、テナントが `pathInRepo` にパストラバーサルを指定すると、`ResolutionRequests`、またはリゾルバーを使用する `TaskRuns` や `PipelineRuns` を通じて、リゾルバーポッド内の任意のファイル（ServiceAccount トークンを含む）を読み取ることができました。現在、リゾルバーは `..` の要素を含むパスを拒否し、攻撃者が制御するリポジトリ内のシンボリックリンクを使ったパス逸脱を阻止します。

> - **[GHSA-j5q5-j9gm-2w5c](https://github.com/tektoncd/pipeline/security/advisories/GHSA-j5q5-j9gm-2w5c)** (Critical): Path traversal in git resolver allows reading arbitrary files from the resolver pod. Fixed by validating the `pathInRepo` parameter to prevent directory traversal.

### [medium] 長いリゾルバー名によるコントローラーのパニックを修正

- 影響対象: カスタムリゾルバー名が31文字以上のTaskRunsおよびPipelineRuns
- [CVE-2026-33022](https://www.cve.org/CVERecord?id=CVE-2026-33022), [GHSA-cv4x-93xx-wgfj](https://github.com/tektoncd/pipeline/security/advisories/GHSA-cv4x-93xx-wgfj)

修正前は、該当するリソースの決定的な `ResolutionRequest` 名を生成する際にコントローラーがパニックを起こし、再起動ループによってクラスター全体の調整が妨げられる可能性がありました。現在は、決定的な `ResolutionRequest` 名の生成時にリゾルバー名のプレフィックスを短縮し、ハッシュ全体を保持します。

> - **[GHSA-cv4x-93xx-wgfj](https://github.com/tektoncd/pipeline/security/advisories/GHSA-cv4x-93xx-wgfj)** / CVE-2026-33022 (Medium): Controller panic via long resolver name in TaskRun/PipelineRun. A user with permission to create TaskRuns or PipelineRuns could crash the controller into a restart loop by setting a resolver name of 31+ characters, causing denial of service cluster-wide. Thanks to @1seal for reporting this vulnerability.

## 破壊的変更 (1)

### ログ結果サイドカーの完了確認ポーリング間隔の設定

- 影響対象: ログ結果サイドカーを使用して結果を作成する構成

デフォルトの間隔は `100ms` で、CPU 使用量が削減されます。間隔を長くすると CPU 負荷をさらに軽減できますが、結果の収集が遅れる可能性があります。間隔を短くすると、より速くフィードバックを得られますが、CPU 使用量が増える可能性があります。

> * :hammer: The log results sidecar has been optimized to significantly reduce CPU utilization. Operators can tune the system for their environment—using a higher interval to reduce CPU load in production, or a lower interval for faster feedback in development (#8913)

## 重大な修正 (3)

### `tekton_pipelines_controller_running_pipelineruns` が実行中の PipelineRun のみをカウント

- 影響対象: `tekton_pipelines_controller_running_pipelineruns` メトリクスを使用するインストール環境 (推定)

> * :bug: fix: exclude pending PipelineRuns from `tekton_pipelines_controller_running_pipelineruns` metric (#8979) — Fixed metric to count only running PipelineRuns

### `v1beta1` Pipeline の検証時の panic 修正

- 影響対象: matrix パラメーターを使用する `v1beta1` API の Pipeline

matrix パラメーター内の無効な result 参照を検証すると、panic が発生することがありました。アップグレード後は、このケースで panic が発生しなくなります。

> * :bug: fix: panic in v1beta1 matrix validation for invalid result refs (#9212) — Resolved an issue where Pipelines with invalid result references in matrix parameters would cause a panic during validation (v1beta1 API)

### Git resolver の `gitToken` 認証修正

- 影響対象: HTTP トークンベース認証に `gitToken` と `gitTokenKey` を使用する Git resolver の設定

Git resolver が HTTP トークンベース認証に `gitToken` と `gitTokenKey` を使用した場合、それらの認証情報では認証に失敗していました。現在は、resolver が実行する Git 操作で、指定された `gitToken` をリモート認証に使用します。

> * :bug: fix(#8940): Fix token-authentication header in git resolver (#8947) — Before this change, there was a regression in which the git resolver was not authenticating with the provided `gitToken` and `gitTokenKey`, breaking the git resolver's http token-based auth. After this change, all git operations performed by the git resolver use the provided `gitToken` for remote authentication.

## 機能・改善 (1)

- Pipeline v1beta1 の `onError` でのパラメーター参照の受け入れ

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

ほか1件（いずれもセキュリティへの言及なし）

- `* :hammer: build: bump Go version to 1.24.0 and fix e2e test infrastructure (#9318)`

## その他の変更 (12)

- Git resolver のサブプロセスによる Pod 環境変数の継承
- 完了済み `TaskRuns` と `PipelineRuns` でファイナライザーのみの更新が可能に
- CI ワークフローにおける GitHub Actions のコミット SHA 固定
- `release-v1.0.x` CI ワークフローへの `ci-summary` ジョブ追加
- SPIRE エンドツーエンドテスト用イメージを `k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.0.1` に変更
- テスト用イメージの Docker Hub から `mirror.gcr.io` への移行
- `startupProbe` を dind-sidecar テストに追加
- Resolver マニフェストでの `TEKTON_HUB_API` デフォルト値の空欄化
- http-resolver のサンプルを Tekton Hub から ArtifactHub に切り替え
- リリースパイプライン基盤のリビジョン更新
- リリースパイプラインの `precheck` タスクで使用する plumbing の更新版リビジョン
- ArtifactHub を参照先とするドキュメント更新

---

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