RATATOSK
← All releases

Argov3.5.9

Security 10Important fixes 11

Get Argo alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Check before upgrading

Upgrade guide1
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.
github.com/argoproj/argo-cd/releases/tag/v3.5.9

Security10high4medium4

Repository upserts now require update permission

high
AffectsRBAC policies granting repositories, create or write-repositories, create without matching update permissions; the write-repository grant also requires the source hydrator to be enabled

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.

Show release-note lines
* 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)
github.com/argoproj/argo-cd/releases/tag/v3.5.9

ApplicationSet delete namespace checks enforced

high
Affectscluster-scoped Argo CD installations

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.

Show release-note lines
* 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)
github.com/argoproj/argo-cd/releases/tag/v3.5.9

Crash from missing repository data in repository API fixed

high
Affectsthe four repository API methods on argocd-server

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.

Show release-note lines
* 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)
github.com/argoproj/argo-cd/releases/tag/v3.5.9

Helm chart links restricted to safe URLs

high
AffectsApplications using Helm charts with a home URL, except charts pulled from OCI registries

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.

Show release-note lines
* 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)
github.com/argoproj/argo-cd/releases/tag/v3.5.9

Bitbucket Cloud webhook credential leak fixed

medium
AffectsArgo CD setups receiving Bitbucket Cloud webhooks with webhook.bitbucket.uuid set in argocd-secret

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.

Show release-note lines
* 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)
github.com/argoproj/argo-cd/releases/tag/v3.5.9

Helm release names now treated as literals

medium
AffectsHelm Applications with invalid or template-dependent spec.source.helm.releaseName values

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.

Show release-note lines
* 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))
github.com/argoproj/argo-cd/releases/tag/v3.5.9

Generated Dex configuration files now use owner-only permissions

medium
AffectsDex-enabled installations and output files from argocd-dex gendexcfg -o

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.

Show release-note lines
* 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)
github.com/argoproj/argo-cd/releases/tag/v3.5.9

Helm release names passed literally

medium
AffectsApplications using Helm release names through spec.source.helm.releaseName, including names supplied from .argocd-source.yaml

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.

Show release-note lines
* 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)
github.com/argoproj/argo-cd/releases/tag/v3.5.9

Argo CD /api/ responses now send no-cache headers

AffectsArgo 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.

Show release-note lines
* 61299e49aef6fab771e08aba002262b0d0e2cfa5: fix(server): set no-cache headers on API responses (cherry-pick #30445 for 3.5) (#31097) (@crenshaw-dev)
github.com/argoproj/argo-cd/releases/tag/v3.5.9

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

AffectsHelm 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.

Show release-note lines
* 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])
github.com/argoproj/argo-cd/releases/tag/v3.5.9

Important fixes11

  • Delete-hook phase tracking fixed for existing hooks
    AffectsApplications 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)
    github.com/argoproj/argo-cd/releases/tag/v3.5.9
  • Stale operation-state overwrite of Terminating fixed
    AffectsArgo 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)
    github.com/argoproj/argo-cd/releases/tag/v3.5.9
  • Application refresh after managed CustomResourceDefinition changes fixed
    AffectsApplications 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)
    github.com/argoproj/argo-cd/releases/tag/v3.5.9
  • Kyverno Policy health reporting fixed
    AffectsArgo 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])
    github.com/argoproj/argo-cd/releases/tag/v3.5.9
  • Stale sync revision fixed after webhook cache warming
    Affectssource-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.com/argoproj/argo-cd/releases/tag/v3.5.9
  • GitHub App installation discovery now looks up the repository owner directly
    AffectsSetups 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])
    github.com/argoproj/argo-cd/releases/tag/v3.5.9
  • Concurrent GitHub App installation lookups now share requests
    Affectssetups 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.com/argoproj/argo-cd/releases/tag/v3.5.9
  • GitHub App discovery no longer blocks unrelated lookups
    AffectsGitHub 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])
    github.com/argoproj/argo-cd/releases/tag/v3.5.9
  • Zero-timeout handling fixed for GitHub App installation discovery
    AffectsGitHub 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.com/argoproj/argo-cd/releases/tag/v3.5.9
  • GitHub App installation discovery uses the configured Git client timeout
    Affectssetups 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])
    github.com/argoproj/argo-cd/releases/tag/v3.5.9
  • Bitbucket SSH host keys added to the default argocd-ssh-known-hosts-cm
    AffectsSSH 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])
    github.com/argoproj/argo-cd/releases/tag/v3.5.9

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