# Argo v3.5.9

2026-11-24 · [Original release notes](https://github.com/argoproj/argo-cd/releases/tag/v3.5.9) · [Full summary](https://ratatosk.io/en/releases/argo/v3.5.9)

Security 10 (high 4) · Important fixes 11

## Check before upgrading

### Upgrade guide

- **Upgrade guidance for different minor versions**
  > 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.

## Security (10)

### [high] Repository upserts now require update permission

- Affects: RBAC policies granting `repositories, create` or `write-repositories, create` without matching `update` permissions; the write-repository grant also requires the source hydrator to be enabled
- [GHSA-mfgm-4p7x-3ccr](https://github.com/argoproj/argo-cd/security/advisories/GHSA-mfgm-4p7x-3ccr)

When a create request with `upsert` targeted an existing repository or write repository, it checked only `create` and could overwrite the existing configuration. Now the request is denied and leaves the repository unchanged unless the caller has `update` on both the existing and requested repository.

> * 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 delete namespace checks enforced

- Affects: cluster-scoped Argo CD installations
- [GHSA-rvmf-gjc9-wjgq](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rvmf-gjc9-wjgq)

An authenticated account with permission to delete ApplicationSets for a project could delete a known or guessed ApplicationSet in a namespace Argo CD was not allowed to manage, also deleting its generated Applications and potentially their deployed resources when the resources finalizer was used. Delete requests for ApplicationSets outside the allowed namespaces are now rejected with `namespace '<namespace>' 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] Crash from missing repository data in repository API fixed

- Affects: the four repository API methods on `argocd-server`
- [GHSA-w7rw-fg89-2cjf](https://github.com/argoproj/argo-cd/security/advisories/GHSA-w7rw-fg89-2cjf)

A gRPC or gRPC-Web request to one of these methods without its repository part caused a nil-pointer panic that exited the `argocd-server` process. Such requests now go through authentication and normal request checks; unauthenticated requests receive an authentication error, and the server stays up.

> * 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] Helm chart links restricted to safe URLs

- Affects: Applications using Helm charts with a `home` URL, except charts pulled from OCI registries
- [GHSA-rxm8-qc6h-3c8h](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rxm8-qc6h-3c8h)

A user who could view an Application and clicked a chart link with a `javascript:` `home` URL could run script in the Argo CD origin with that user's API permissions. Unsafe-scheme links are now hidden, and displayed links open in a new tab isolated from the Argo CD window.

> * 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 credential leak fixed

- Affects: Argo CD setups receiving Bitbucket Cloud webhooks with `webhook.bitbucket.uuid` set in `argocd-secret`
- [GHSA-q4f6-wc8m-r246](https://github.com/argoproj/argo-cd/security/advisories/GHSA-q4f6-wc8m-r246)

A forged Bitbucket Cloud push webhook could use its payload's host to send credentials stored for the named repository to an attacker-controlled server. Changed-file and default-branch API calls now always use `https://api.bitbucket.org`, so the payload can no longer choose their host.

> * 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 release names now treated as literals

- Affects: Helm Applications with invalid or template-dependent `spec.source.helm.releaseName` values
- [GHSA-v2hj-322q-6cg4](https://github.com/argoproj/argo-cd/security/advisories/GHSA-v2hj-322q-6cg4)

Previously, Helm evaluated these values as templates, which could expose repo-server environment variables in generated manifests, errors, or DNS lookups. Names that rely on template syntax or fall outside Helm’s valid format—up to 53 characters, using lowercase letters, digits, `-` and `.`, and starting and ending with a letter or digit—are now rejected, and manifest generation fails with an error naming `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] Generated Dex configuration files now use owner-only permissions

- Affects: Dex-enabled installations and output files from `argocd-dex gendexcfg -o`
- [GHSA-8cfq-7w4v-ggm3](https://github.com/argoproj/argo-cd/security/advisories/GHSA-8cfq-7w4v-ggm3)

Previously, the resolved Dex configuration, including referenced secrets, was world-readable (`0644`). It is now readable and writable only by the file owner (`0600`), and SSO continues without configuration changes.

> * 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 release names passed literally

- Affects: Applications using Helm release names through `spec.source.helm.releaseName`, including names supplied from `.argocd-source.yaml`
- [GHSA-v2hj-322q-6cg4](https://github.com/argoproj/argo-cd/security/advisories/GHSA-v2hj-322q-6cg4)

A user who could set an Application’s Helm release name could use template evaluation to expose repo-server environment-variable values in generated manifests. Names that rely on template syntax or do not meet Helm’s naming rules are now rejected, and manifest generation fails for that 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/` responses now send no-cache headers

- Affects: Argo CD endpoints handled by the `/api/` handler, excluding `/api/badge`, `/api/webhook`, and `/api/dex`

Without a `Cache-Control` header, an intermediate proxy or CDN could cache JSON responses and serve them to other users, exposing API data and mixing stale and fresh data in the UI. The wrapped handler can still override the no-cache headers.

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

### `RepoAdd` TLS credential files removed when Helm’s working directory closes

- Affects: Helm repositories using TLS client certificate or key data in `RepoAdd`

Previously, `Cmd.RepoAdd` wrote TLS credentials to `os.TempDir()` and only closed the files, so dependency builds against non-OCI repositories using a client certificate could leave the private key on the repo-server disk. The files now stay in Helm’s working directory for dependency builds and are removed when that directory closes.

> * 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])

## Important fixes (11)

### Delete-hook phase tracking fixed for existing hooks

- Affects: Applications using pre-delete or post-delete hooks

When creating a delete hook returned `AlreadyExists` before the cluster cache had observed it, the controller could mark the phase complete while the hook was still running, allowing premature cascade deletion. It now checks the existing hook's live state: running hooks keep the finalizer in place, succeeded hooks allow deletion, and failed hooks are deleted for retry and reported as failures; if the hook has disappeared, it waits and retries on the next pass.

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

### Stale operation-state overwrite of `Terminating` fixed

- Affects: Argo application operations in progress

If an application was terminated while the controller was processing it, a stale update could replace `Terminating` with `Running`, preventing termination cleanup. The controller now guards the update and retries with `Terminating` when that phase is already stored, preserving its message so cleanup can proceed.

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

### Application refresh after managed `CustomResourceDefinition` changes fixed

- Affects: Applications managing `CustomResourceDefinition` resources on their destination cluster

When an updated `CustomResourceDefinition` does not resolve to an application through ordinary resource lookup, the controller uses an index to find applications managing it on that cluster and requests their refresh.

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

### Kyverno Policy health reporting fixed

- Affects: Argo CD’s built-in health check for `kyverno.io/Policy` resources (Inferred)

When a Policy had `Ready=False` because it failed to load, the check reported `Progressing` instead of `Degraded`. It now reports `Degraded` and uses the condition’s message.

> * 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])

### Stale sync revision fixed after webhook cache warming

- Affects: source-hydrated applications with webhook cache warming enabled

Previously, when a sync-branch commit did not affect an application's path, the compared revision advanced but `status.sync.revision` stayed at the old revision. After a successful cache warm, the application is reconciled using the warmed cache, so the field can advance without another hydration; with cache warming disabled, it advances only after another refresh.

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

### GitHub App installation discovery now looks up the repository owner directly

- Affects: Setups using GitHub App installation ID discovery for organization- or user-owned repositories

Previously, discovery searched every installation sequentially within one timeout, which could take many requests for apps installed across many organizations. It now checks the organization directly and caches only that organization's ID; for a user-owned repository, it tries the user endpoint only if the organization lookup returns 404, not for other errors.

> * 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])

### Concurrent GitHub App installation lookups now share requests

- Affects: setups making concurrent GitHub App installation lookups for the same organization, host, and app using the same private key

When a lookup failed, such as with a 403, 5xx, or rate limit, each waiter previously made its own request in sequence. Matching callers now share the result, including errors; each stops waiting when its own context ends, and active waiters retry only if the initiating caller's context ended the shared request—not for other deadline errors such as a dial timeout.

> * 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 discovery no longer blocks unrelated lookups

- Affects: GitHub App installation discovery

Previously, a lookup waiting behind another paginated listing could use up its timeout, even if the other lookup was for a different app or host. Lookups for different apps or hosts now proceed independently, and a waiter for the same app-and-host lock returns when its context ends.

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

### Zero-timeout handling fixed for GitHub App installation discovery

- Affects: GitHub App installation discovery with `ARGOCD_GIT_REQUEST_TIMEOUT=0`

Previously, the zero timeout expired immediately during discovery. Now, discovery imposes no timeout when `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 installation discovery uses the configured Git client timeout

- Affects: setups that omit `githubAppInstallationID` and use installation discovery

Discovery could fail with `context deadline exceeded` when it exceeded the hard-coded 15-second timeout, even though `ARGOCD_GIT_REQUEST_TIMEOUT` was configured.

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

### Bitbucket SSH host keys added to the default `argocd-ssh-known-hosts-cm`

- Affects: SSH repository URLs using `ssh.bitbucket.org` or `[altssh.bitbucket.org]:443`

The added keys support repository connections through either hostname. Setups that manage `argocd-ssh-known-hosts-cm` themselves need the Bitbucket host entries in that ConfigMap.

> * 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])

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
