# Tekton v1.6.2

2026-04-21 · [릴리스 노트 원문](https://github.com/tektoncd/pipeline/releases/tag/v1.6.2) · [전체 정리](https://ratatosk.io/ko/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 파드에서 원격 코드 실행으로 이어질 가능성이 있었습니다. 인자 주입 경로는 수정됐지만, 릴리스에서는 이제 이러한 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`로 해석될 수 있었습니다. 이로 인해 마운트가 내부 경로를 덮어쓰고 다운스트림 파이프라인이 신뢰하는 가짜 Task 결과를 제공할 가능성이 있었습니다. 이러한 경로 탐색 우회는 더 이상 작동하지 않습니다.

> - **[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 리졸버 응답 무제한 읽기 수정

- 영향 대상: HTTP 리졸버를 사용하는 환경 (추정)
- [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의 응답이 매우 크면 리졸버 파드의 메모리가 고갈되어 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 캐시 configstore

---

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