# Argo v3.5.8

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

Security 2 · Important fixes 3 · Dependency updates 4 · Other changes 2

## Check before upgrading

### Upgrade guide

- **Upgrade guidance for cross-minor upgrades**
  > 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 (2)

### AppProject destination deny precedence fixed

- Affects: AppProjects with `!name` or `!server` destination deny patterns

Previously, an allow match on the server could override a matching `!name` deny, and an allow match on the name could override a matching `!server` deny. Now, when the namespace matches, a positively matching deny blocks the destination before allow evaluation, while a deny for an unrelated cluster does not block an otherwise allowed destination.

> * eaf2292eff04f5017ec900e773c67c336d954c1c: fix: AppProject destination deny (!name / !server) vetoes when it positively matches (cherry-pick #30884 for 3.5) (#30894) (@argo-cd-cherry-pick-bot[bot])

### Argo CD regex memory amplification fixed

- Affects: Argo CD installations using regular expressions in `AppProject.spec.sourceNamespaces`
- [CVE-2026-77299](https://www.cve.org/CVERecord?id=CVE-2026-77299), GHSA-wq9v-j77v-qr26

Before, a large fixed-count quantifier on a zero-width subexpression in a pattern set by someone with project-update permissions could cause unbounded memory growth and OOM the application controller and API server. Such matches are now bounded and return an error that `Match` treats as no match, so results can differ for patterns that exceed the limit.

> * 80a29b8efaf7bab73d249ca5969f1006aad1a7a5: fix(deps): upgrade dlclark/regexp2 from v1.12.0 to v2.13.0 (CVE-2026-77299) (#31005) (#31027) (@nmirasch)

## Important fixes (3)

### ApplicationSet refreshes now patch only the refresh annotation

- Affects: ApplicationSets managed from Git

Before, requesting or clearing a refresh could add empty generator `template` blocks and drop explicit zero values, causing Git-management tools to detect drift and re-apply the ApplicationSet.

> * fc6fd49071ddd62b62cc7179c052257520fb3063: fix(appset): patch only the refresh annotation instead of rewriting the ApplicationSet (#24378, #24647) (cherry-pick #31023 for 3.5) (#31028) (@argo-cd-cherry-pick-bot[bot])

### ApplicationSet finalizer addition no longer rewrites the spec

- Affects: ApplicationSets with progressive syncs enabled and reverse deletion order, where the resources finalizer is absent

Previously, adding the resources finalizer used a full `Update`, which could rewrite the ApplicationSet spec through the Go types. It now uses a patch that avoids rewriting the spec and an optimistic lock to guard concurrent writers.

> * fc6fd49071ddd62b62cc7179c052257520fb3063: fix(appset): patch only the refresh annotation instead of rewriting the ApplicationSet (#24378, #24647) (cherry-pick #31023 for 3.5) (#31028) (@argo-cd-cherry-pick-bot[bot])

### Argo CD application controller stops retaining decoded OpenAPI documents

- Affects: managed clusters with cached OpenAPI schemas

Previously, each cached managed cluster kept its full decoded OpenAPI v2 document in memory. After loading returns, that document can be garbage-collected while the returned OpenAPI resources and GVK parser remain available; the stated test measured 8.7 MB retained per cluster instead of 24.1 MB.

> * 99b495bb1973a62f914b1c13cad49d3a8b8c047a: fix(gitops-engine): stop retaining the decoded OpenAPI document per cluster (#30810) (cherry-pick #30811 for 3.5) (#30831) (@argo-cd-cherry-pick-bot[bot])

## Dependency updates (4)

4 more, none mentioning security

- `* 9cc538411e5090930fdc499e45c08c40bb0ee053: chore(deps): bump github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.6 [3.5] (#30917) (@ranakan19)`
- `* d65bb7760b95b28b617240f99cc41eb9ea5989d4: chore(deps): bump otel from v1.44.0 to v1.46.0 [3.5] (#30920) (@ranakan19)`
- `* 050fdb317f58d035298287e6e325853ba9f881fc: chore(deps): update group golang to v1.26.11 (release-3.5) (#30916) (@argoproj-renovate[bot])`
- `* 34f815a299b3abf762e31418db1d0ffe085a1d45: chore(dep): upgrade git-lfs dependency from v3.7.1 to v3.8.1 (#31051) (@anandf)`

## Other changes (2)

- Application resource tree node layout adjustments
- UI top bar truncates breadcrumbs and page titles on narrow windows

---

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