# Argo v3.5.9

2026-11-24 · [릴리스 노트 원문](https://github.com/argoproj/argo-cd/releases/tag/v3.5.9) · [전체 정리](https://ratatosk.io/ko/releases/argo/v3.5.9)

보안 10 (high 4) · 중요 수정 11

## 업그레이드 전 확인

### 업그레이드 안내

- **마이너 버전이 다른 경우의 업그레이드 안내**
  > If upgrading from a different minor version, be sure to read the [upgrading](https://argo-cd.readthedocs.io/en/stable/operator-manual/upgrading/overview/) documentation.

## 보안 (10)

### [high] 리포지토리 upsert에 update 권한 필요

- 영향 대상: `repositories, create` 또는 `write-repositories, create` 권한을 부여하고 해당 `update` 권한은 부여하지 않은 RBAC 정책. 단, `write-repositories, create` 권한 부여의 경우 소스 하이드레이터가 활성화된 상태
- [GHSA-mfgm-4p7x-3ccr](https://github.com/argoproj/argo-cd/security/advisories/GHSA-mfgm-4p7x-3ccr)

기존 리포지토리나 쓰기 리포지토리를 대상으로 `upsert`가 포함된 생성 요청을 보내면, 이전에는 `create` 권한만 확인해 기존 설정을 덮어쓸 수 있었습니다. 이제 요청자에게 기존 리포지토리와 요청한 리포지토리 모두에 대한 `update` 권한이 없으면 요청이 거부되고 리포지토리도 변경되지 않습니다.

> * HIGH: Repository create with upsert overwrites existing repositories without the update permission ([GHSA-mfgm-4p7x-3ccr](https://github.com/argoproj/argo-cd/security/advisories/GHSA-mfgm-4p7x-3ccr))
> * 919d4c254090c371c7732d19eded705fcdaf40eb: fix: security fixes for 7 advisories (cherry-pick for 3.5) (#31238) (@crenshaw-dev)

### [high] ApplicationSet 삭제 시 네임스페이스 검사 적용

- 영향 대상: 클러스터 범위 Argo CD 설치
- [GHSA-rvmf-gjc9-wjgq](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rvmf-gjc9-wjgq)

프로젝트의 ApplicationSet을 삭제할 권한이 있는 인증된 계정은 Argo CD가 관리하도록 허용되지 않은 네임스페이스에 있는 ApplicationSet을 알고 있거나 추측해 삭제할 수 있었습니다. 이 경우 생성된 ApplicationSet도 삭제되며, resources finalizer를 사용하면 배포된 리소스까지 삭제될 수 있었습니다. 이제 허용된 네임스페이스 밖에 있는 ApplicationSet의 삭제 요청은 `namespace '\u003cnamespace\u003e' is not permitted` 메시지와 함께 거부됩니다.

> * HIGH: ApplicationSet delete API ignores the allowed ApplicationSet namespaces ([GHSA-rvmf-gjc9-wjgq](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rvmf-gjc9-wjgq))
> * 919d4c254090c371c7732d19eded705fcdaf40eb: fix: security fixes for 7 advisories (cherry-pick for 3.5) (#31238) (@crenshaw-dev)

### [high] repository 데이터 누락으로 인한 repository API 크래시 수정

- 영향 대상: `argocd-server`의 네 가지 repository API 메서드
- [GHSA-w7rw-fg89-2cjf](https://github.com/argoproj/argo-cd/security/advisories/GHSA-w7rw-fg89-2cjf)

repository 부분이 없는 gRPC 또는 gRPC-Web 요청을 이 메서드 중 하나에 보내면 nil 포인터 패닉이 발생해 `argocd-server` 프로세스가 종료됐습니다. 이제 이런 요청도 인증과 일반 요청 검사를 거칩니다. 인증되지 않은 요청에는 인증 오류가 반환되며, 서버는 계속 실행됩니다.

> * HIGH: A single unauthenticated request crashes the API server ([GHSA-w7rw-fg89-2cjf](https://github.com/argoproj/argo-cd/security/advisories/GHSA-w7rw-fg89-2cjf))
> * 919d4c254090c371c7732d19eded705fcdaf40eb: fix: security fixes for 7 advisories (cherry-pick for 3.5) (#31238) (@crenshaw-dev)

### [high] 안전한 URL로 제한되는 Helm 차트 링크

- 영향 대상: OCI 레지스트리에서 가져온 차트는 제외하고, `home` URL이 있는 Helm 차트를 사용하는 Application
- [GHSA-rxm8-qc6h-3c8h](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rxm8-qc6h-3c8h)

Application을 볼 수 있는 사용자가 `javascript:` `home` URL이 있는 차트 링크를 클릭하면, 해당 사용자의 API 권한으로 Argo CD 오리진에서 스크립트를 실행할 수 있었습니다. 이제 안전하지 않은 스킴의 링크는 표시되지 않으며, 표시되는 링크는 Argo CD 창과 격리된 새 탭에서 열립니다.

> * HIGH: Helm chart home link allows stored XSS in the application details view ([GHSA-rxm8-qc6h-3c8h](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rxm8-qc6h-3c8h))
> * 919d4c254090c371c7732d19eded705fcdaf40eb: fix: security fixes for 7 advisories (cherry-pick for 3.5) (#31238) (@crenshaw-dev)

### [medium] Bitbucket Cloud 웹훅 자격 증명 유출 수정

- 영향 대상: `webhook.bitbucket.uuid`가 `argocd-secret`에 설정되어 있고 Bitbucket Cloud 웹훅을 수신하는 Argo CD 구성
- [GHSA-q4f6-wc8m-r246](https://github.com/argoproj/argo-cd/security/advisories/GHSA-q4f6-wc8m-r246)

위조된 Bitbucket Cloud push 웹훅은 페이로드에 지정된 호스트를 이용해 해당 저장소용으로 저장된 자격 증명을 공격자가 제어하는 서버로 보낼 수 있었습니다. 이제 변경 파일 및 기본 브랜치 API 호출은 항상 `https://api.bitbucket.org`를 사용하므로 페이로드에서 호스트를 지정할 수 없습니다.

> * MODERATE: Bitbucket Cloud webhook sends stored repository credentials to a host taken from the webhook payload ([GHSA-q4f6-wc8m-r246](https://github.com/argoproj/argo-cd/security/advisories/GHSA-q4f6-wc8m-r246))
> * 919d4c254090c371c7732d19eded705fcdaf40eb: fix: security fixes for 7 advisories (cherry-pick for 3.5) (#31238) (@crenshaw-dev)

### [medium] Helm 릴리스 이름의 리터럴 처리

- 영향 대상: 유효하지 않거나 템플릿에 의존하는 `spec.source.helm.releaseName` 값을 사용하는 Helm Application
- [GHSA-v2hj-322q-6cg4](https://github.com/argoproj/argo-cd/security/advisories/GHSA-v2hj-322q-6cg4)

이전에는 Helm이 이 값을 템플릿으로 평가해 생성된 매니페스트, 오류 또는 DNS 조회에 repo-server 환경 변수가 노출될 수 있었습니다. 템플릿 구문에 의존하거나 Helm의 유효한 형식인 53자 이하, 소문자·숫자·`-`·`.` 사용, 문자 또는 숫자로 시작하고 끝나는 조건을 벗어나는 이름은 이제 거부됩니다. 이 경우 매니페스트 생성이 실패하고, 오류에는 `spec.source.helm.releaseName`이 표시됩니다.

> * MODERATE: Helm release name is evaluated as a template, disclosing repo-server environment variables ([GHSA-v2hj-322q-6cg4](https://github.com/argoproj/argo-cd/security/advisories/GHSA-v2hj-322q-6cg4))

### [medium] 생성된 Dex 설정 파일에 소유자 전용 권한 적용

- 영향 대상: Dex가 활성화된 설치와 `argocd-dex gendexcfg -o`의 출력 파일
- [GHSA-8cfq-7w4v-ggm3](https://github.com/argoproj/argo-cd/security/advisories/GHSA-8cfq-7w4v-ggm3)

이전에는 참조된 시크릿을 포함한 최종 Dex 설정을 누구나 읽을 수 있었으며 권한은 `0644`였습니다. 이제는 파일 소유자만 읽고 쓸 수 있으며 권한은 `0600`입니다. 설정을 변경하지 않아도 SSO는 계속 동작합니다.

> * MODERATE: Generated Dex configuration containing SSO secrets is written world-readable ([GHSA-8cfq-7w4v-ggm3](https://github.com/argoproj/argo-cd/security/advisories/GHSA-8cfq-7w4v-ggm3))
> * 919d4c254090c371c7732d19eded705fcdaf40eb: fix: security fixes for 7 advisories (cherry-pick for 3.5) (#31238) (@crenshaw-dev)

### [medium] Helm 릴리스 이름의 리터럴 전달

- 영향 대상: `spec.source.helm.releaseName`을 통해 Helm 릴리스 이름을 사용하는 Application. `.argocd-source.yaml`에서 이름을 지정하는 경우도 포함
- [GHSA-v2hj-322q-6cg4](https://github.com/argoproj/argo-cd/security/advisories/GHSA-v2hj-322q-6cg4)

Application의 Helm 릴리스 이름을 설정할 수 있는 사용자는 템플릿 평가를 이용해 생성된 매니페스트에 repo-server 환경 변수 값을 노출할 수 있었습니다. 이제 템플릿 구문에 의존하거나 Helm의 이름 규칙을 충족하지 않는 이름은 거부되며, 해당 Application의 매니페스트 생성이 실패합니다.

> * Helm release names (`spec.source.helm.releaseName`, including from `.argocd-source.yaml`) are now passed to Helm literally and must be valid Helm release names: lowercase letters, digits, `-` and `.`, starting and ending with a letter or digit, at most 53 characters. Manifest generation fails for an Application whose release name is not valid or relied on template syntax ([GHSA-v2hj-322q-6cg4](https://github.com/argoproj/argo-cd/security/advisories/GHSA-v2hj-322q-6cg4)).
> * 919d4c254090c371c7732d19eded705fcdaf40eb: fix: security fixes for 7 advisories (cherry-pick for 3.5) (#31238) (@crenshaw-dev)

### Argo CD `/api/` 응답에 no-cache 헤더 전송

- 영향 대상: `/api/` 핸들러가 처리하는 Argo CD 엔드포인트 중 `/api/badge`, `/api/webhook`, `/api/dex`를 제외한 엔드포인트

`Cache-Control` 헤더가 없으면 중간 프록시나 CDN이 JSON 응답을 캐시해 다른 사용자에게 제공할 수 있습니다. 이로 인해 API 데이터가 노출되고 UI에 오래된 데이터와 최신 데이터가 섞일 수 있습니다. 래핑된 핸들러는 no-cache 헤더를 계속 덮어쓸 수 있습니다.

> * 61299e49aef6fab771e08aba002262b0d0e2cfa5: fix(server): set no-cache headers on API responses (cherry-pick #30445 for 3.5) (#31097) (@crenshaw-dev)

### Helm 작업 디렉터리가 닫힐 때 제거되는 `RepoAdd` TLS 자격 증명 파일

- 영향 대상: `RepoAdd`에서 TLS 클라이언트 인증서 또는 키 데이터를 사용하는 Helm 저장소

이전에는 `Cmd.RepoAdd`가 TLS 자격 증명을 `os.TempDir()`에 기록한 뒤 파일을 닫기만 했습니다. 그 결과 클라이언트 인증서를 사용하는 비 OCI 저장소를 대상으로 의존성을 빌드하면 개인 키가 repo-server 디스크에 남을 수 있었습니다. 이제 의존성 빌드에 쓰이는 파일은 Helm 작업 디렉터리에 보관되며, 해당 디렉터리가 닫힐 때 제거됩니다.

> * 3ea9c164ecf713d8b1dd94e7cdd8bacae161d3e3: fix(helm): remove temporary cert and key files after repo add (cherry-pick #30725 for 3.5) (#31229) (@argo-cd-cherry-pick-bot[bot])

## 중요 수정 (11)

### 기존 삭제 훅의 단계 추적 수정

- 영향 대상: 사전 삭제 또는 사후 삭제 훅을 사용하는 애플리케이션

삭제 훅을 생성할 때 클러스터 캐시가 해당 훅을 아직 관측하기 전에 `AlreadyExists`가 반환되면, 컨트롤러가 훅이 실행 중인데도 단계를 완료된 것으로 표시해 조기 캐스케이드 삭제가 발생할 수 있었습니다. 이제 기존 훅의 현재 상태를 확인합니다. 실행 중인 훅은 파이널라이저를 유지하고, 성공한 훅은 삭제를 허용합니다. 실패한 훅은 재시도를 위해 삭제하고 실패로 보고합니다. 훅이 사라진 경우에는 대기한 뒤 다음 처리 때 다시 시도합니다.

> * c1a4f3823f365d330987ef7fec1faf00147d13c0: fix(controller): do not complete a delete hook phase on AlreadyExists (#29100) (cherry-pick #29687 for 3.5) (#31171) (@ppapapetrou76)

### 오래된 작업 상태가 `Terminating`을 덮어쓰는 문제 수정

- 영향 대상: 진행 중인 Argo 애플리케이션 작업

컨트롤러가 애플리케이션을 처리하는 동안 애플리케이션이 종료되면, 오래된 업데이트가 `Terminating`을 `Running`으로 덮어써 종료 정리를 막을 수 있었습니다. 이제 컨트롤러는 업데이트를 보호합니다. 저장된 단계가 이미 `Terminating`이면 해당 상태 메시지를 유지하면서 `Terminating`으로 다시 시도해 종료 정리가 진행되도록 합니다.

> * 36aa708609f8e6df42878bb87668e63024ebc7ee: fix(controller): don't overwrite a terminate request with a stale running operation state (cherry-pick #30293 for 3.5) (#31188) (@ppapapetrou76)

### 관리 중인 `CustomResourceDefinition` 변경 후 애플리케이션 새로 고침 수정

- 영향 대상: 대상 클러스터에서 `CustomResourceDefinition` 리소스를 관리하는 애플리케이션

업데이트된 `CustomResourceDefinition`을 일반 리소스 조회로 애플리케이션에 연결할 수 없으면, 컨트롤러는 인덱스를 사용해 해당 클러스터에서 이를 관리하는 애플리케이션을 찾고 새로 고침을 요청합니다.

> * 1878747b8a02b74e1f28b703e2f02a8f76815c6c: fix(controller): refresh apps when a CRD they manage changes (cherry-pick #30599 for 3.5) (#31148) (@ppapapetrou76)

### Kyverno Policy 헬스 체크 상태 보고 수정

- 영향 대상: `kyverno.io/Policy` 리소스를 위한 Argo CD 내장 헬스 체크 (추정)

Policy가 로드에 실패해 `Ready=False`였을 때, 헬스 체크는 `Degraded` 대신 `Progressing`을 보고했습니다. 이제 `Degraded`를 보고하고 상태 조건의 메시지를 사용합니다.

> * 2ccddd6add289f73e37649a142168ed68629d083: fix(health): report Degraded for kyverno.io/Policy when Ready=False (#30913) (cherry-pick #30925 for 3.5) (#31209) (@argo-cd-cherry-pick-bot[bot])

### 웹훅 캐시 워밍 후 오래된 sync revision 수정

- 영향 대상: 웹훅 캐시 워밍이 활성화된 소스 하이드레이션 애플리케이션

이전에는 sync 브랜치 커밋이 애플리케이션 경로에 영향을 주지 않으면 비교 대상 revision은 앞서 갔지만 `status.sync.revision`은 이전 revision에 머물렀습니다. 캐시 워밍에 성공하면 애플리케이션은 워밍된 캐시를 사용해 조정되므로, 추가 하이드레이션 없이도 해당 필드가 앞서 갈 수 있습니다. 캐시 워밍을 비활성화한 경우에는 다시 refresh한 뒤에만 해당 필드가 앞서 갑니다.

> * 7bc134c2f33d8db8cb7887c7ee761de992f6a6d7: fix(hydrator): update status.sync.revision for no-ops (#29816) (cherry-pick #29817 for 3.5) (#31199) (@crenshaw-dev)

### GitHub App 설치 디스커버리에서 저장소 소유자 직접 조회

- 영향 대상: 조직 또는 사용자 소유 저장소에서 GitHub App 설치 ID 디스커버리를 사용하는 설정

이전에는 디스커버리 과정에서 하나의 타임아웃 안에 모든 설치를 순차적으로 검색했습니다. 여러 조직에 설치된 앱은 요청이 많이 필요할 수 있었습니다. 이제 조직을 직접 조회하고 해당 조직의 ID만 캐시합니다. 사용자 소유 저장소의 경우 조직 조회가 404를 반환할 때만 사용자 엔드포인트를 시도하며, 그 외 오류에서는 시도하지 않습니다.

> * 6de0e04d5d1016bfe5cd88a475e4beeb4231a2a0: fix(git): look up the GitHub App installation for one org instead of listing all (cherry-pick #30603 for 3.5) (#31128) (@argo-cd-cherry-pick-bot[bot])

### 동시 GitHub App 설치 조회에서 요청 공유

- 영향 대상: 같은 프라이빗 키로 동일한 조직, 호스트, 앱의 GitHub App 설치를 동시에 조회하는 설정

조회가 실패하면(예: 403, 5xx 또는 rate limit) 이전에는 대기자마다 차례로 별도 요청을 보냈습니다. 이제 조건이 일치하는 호출자는 오류를 포함한 결과를 공유합니다. 각 호출자는 자신의 context가 종료되면 대기를 멈추며, 대기 중인 호출자는 요청을 시작한 호출자의 context가 종료되어 공유 요청이 끝난 경우에만 재시도합니다. 다이얼 타임아웃 같은 다른 deadline 오류는 재시도 사유가 아닙니다.

> * 9029780d32e3f270e966cd22622d6d2e35aa2053: fix(git): share one GitHub App installation lookup among concurrent callers (cherry-pick #30629 for 3.5) (#31205) (@argo-cd-cherry-pick-bot[bot])

### GitHub App 디스커버리에서 무관한 조회 차단 해소

- 영향 대상: GitHub App 설치 디스커버리

이전에는 다른 페이지네이션 목록 조회가 끝나기를 기다리는 조회가, 대상이 다른 앱이나 호스트인 경우에도 타임아웃을 모두 소진할 수 있었습니다. 이제 앱이나 호스트가 서로 다른 조회는 독립적으로 진행되며, 같은 앱과 호스트의 잠금을 기다리는 조회는 컨텍스트가 종료되면 반환됩니다.

> * 170782f8182b0e291b91b1a542f96458994a64f5: fix(git): stop serializing GitHub App installation discovery globally (cherry-pick #30602 for 3.5) (#31120) (@argo-cd-cherry-pick-bot[bot])

### GitHub App 설치 디스커버리의 타임아웃 0 처리 수정

- 영향 대상: `ARGOCD_GIT_REQUEST_TIMEOUT=0`인 GitHub App 설치 디스커버리

이전에는 디스커버리 중 타임아웃을 0으로 설정하면 즉시 만료됐습니다. 이제 `ARGOCD_GIT_REQUEST_TIMEOUT=0`이면 디스커버리에 타임아웃이 적용되지 않습니다.

> * 170782f8182b0e291b91b1a542f96458994a64f5: fix(git): stop serializing GitHub App installation discovery globally (cherry-pick #30602 for 3.5) (#31120) (@argo-cd-cherry-pick-bot[bot])

### GitHub App 설치 디스커버리에 설정된 Git 클라이언트 타임아웃 적용

- 영향 대상: `githubAppInstallationID`를 생략하고 설치 디스커버리를 사용하는 설정

설정된 `ARGOCD_GIT_REQUEST_TIMEOUT`이 있어도 하드 코딩된 15초 타임아웃을 초과하면 디스커버리가 `context deadline exceeded` 오류로 실패할 수 있었습니다.

> * 2eccdef19a9b68fa99bb7119db75bda739e3cd39: fix(git): use configurable timeout for GitHub App installation discovery (cherry-pick #30601 for 3.5) (#31113) (@argo-cd-cherry-pick-bot[bot])

### 기본 `argocd-ssh-known-hosts-cm`에 Bitbucket SSH 호스트 키 추가

- 영향 대상: `ssh.bitbucket.org` 또는 `[altssh.bitbucket.org]:443`를 사용하는 SSH 리포지토리 URL

추가된 키를 사용하면 두 호스트 이름 중 하나로 리포지토리에 연결할 수 있습니다. `argocd-ssh-known-hosts-cm`을 직접 관리하는 환경에서는 해당 ConfigMap에 Bitbucket 호스트 항목을 추가해야 합니다.

> * 17cdb20e4e472f8e26035a6d5432a34b1dc7aceb: fix: add `ssh.bitbucket.org` to the default SSH known hosts  (cherry-pick #31177 for 3.5) (#31222) (@argo-cd-cherry-pick-bot[bot])

---

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