critical · 9.9 Partly patched

Argo CD: AppProject destination-namespace and resource restrictions bypassed by PreDelete/PostDelete resource hooks

CVE-2026-77459 · GHSA-fmxq-cgp8-87wp · published 15 Oct 2026

How serious is it

  • Severity: critical, CVSS score 9.9 out of 10.
  • No exploit prediction (EPSS) score yet.
  • Not on the CISA list of exploited vulnerabilities.
  • No public exploit in Exploit-DB.

Is your app affected by CVE-2026-77459?

Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.

Who is affected

  • github.com/argoproj/argo-cd/v2 (Go) >= 2.10.0, <= 2.14.21
  • github.com/argoproj/argo-cd/v3 (Go) >= 3.0.0, < 3.3.15
  • github.com/argoproj/argo-cd/v3 (Go) >= 3.4.0, < 3.4.10
  • github.com/argoproj/argo-cd/v3 (Go) >= 3.5.0, < 3.5.4
  • github.com/argoproj/argo-cd/v3 (Go) >= 3.6.0-rc1, < 3.6.0-rc2

How to check

  1. Run go list -m github.com/argoproj/argo-cd/v2 in your project to see the installed version, including copies pulled in by other packages.
  2. Run go list -m github.com/argoproj/argo-cd/v3 in your project to see the installed version, including copies pulled in by other packages.
  3. Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.

How to fix

Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
  1. No fixed version of github.com/argoproj/argo-cd/v2 yet. Replace or remove it, or apply the workaround in the advisory below.
  2. On >= 3.0.0, < 3.3.15: Upgrade github.com/argoproj/argo-cd/v3 to 3.3.15 or later, commit the lockfile and redeploy.
  3. On >= 3.4.0, < 3.4.10: Upgrade github.com/argoproj/argo-cd/v3 to 3.4.10 or later, commit the lockfile and redeploy.
  4. On >= 3.5.0, < 3.5.4: Upgrade github.com/argoproj/argo-cd/v3 to 3.5.4 or later, commit the lockfile and redeploy.
  5. On >= 3.6.0-rc1, < 3.6.0-rc2: Upgrade github.com/argoproj/argo-cd/v3 to 3.6.0-rc2 or later, commit the lockfile and redeploy.
  6. If a vulnerable version was live, check your logs and rotate the secrets that server could read.

The advisory

### Impact Argo CD checks an Application's AppProject before it creates resources during a sync. That check covers destination namespaces and servers, cluster-scoped resource allow and deny lists, and namespaced resource allow and deny lists, including resource names. PreDelete and PostDelete hooks skip it. When the Application is deleted, Argo CD creates those hooks with the application-controller's credentials on the destination cluster. All versions from v2.10.0 onward are affected, including every currently supported release. v2.9.22 and earlier are not. PostDelete hooks were introduced in [dcc17f70bf](https://github.com/argoproj/argo-cd/commit/dcc17f70bf7db973fe480b8b613189b2c5ac4b4b) (2023-12-18, [#16595](https://github.com/argoproj/argo-cd/pull/16595)) and first released in v2.10.0. That creation path has never applied the project check. PreDelete hooks, added in [3bf3d8a212](https://github.com/argoproj/argo-cd/commit/3bf3d8a2124e772ac651f3fd42375c4e9b8008af) (2025-12-05, [#22288](https://github.com/argoproj/argo-cd/pull/22288)) and first released in v3.3.0, use the same path. v3.2.12 and earlier do not have PreDelete hooks. PreSync, Sync, PostSync, and SyncFail hooks still go through the project check. A user who can push to the Git repository an Application syncs from can commit a hook whose namespace, group, kind, or name the AppProject would refuse on sync. The controller adds the delete finalizer when it sees the hook, and the Application stays Synced until someone deletes it. Deleting the Application creates the hook. What that can reach is bounded by the application-controller's access to the destination cluster. In a typical install that access is broad, so a tenant can create a cluster-scoped object such as a `ClusterRoleBinding`, or an object in a namespace the project does not allow. A hook with no deletion policy is removed after it succeeds. A deletion policy that does not remove the hook on success leaves the object in the cluster. A hook such as a Job can create further objects that Argo CD does not clean up. ### Patches A patch for this vulnerability has been released in the following Argo CD versions: * v3.6.0-rc2 * v3.5.4 * v3.4.10 * v3.3.15 The fix applies the same AppProject destination and resource checks used on sync before creating a PreDelete or PostDelete hook. Argo CD 2.x and 3.0 through 3.2 are out of support and will not receive a patch. Upgrade to a patched 3.3 or newer release. ### Workarounds There is no configuration setting that applies the project check to delete hooks while those hooks stay in use. * Do not grant untrusted users write access to Git repositories that back Applications in restrictive AppProjects. * Limit who can delete Applications. Deletion is what runs PreDelete and PostDelete hooks. * Tighten the application-controller's Kubernetes access so a hook cannot reach sensitive namespaces or APIs. ### Credits The Argo CD team would like to thank @RealFakeAccount, @AdamKorcz, @0xshylines, @thevilledev, @HenriWilliams, @cherez0ff, @ARSB1, and @zwindler for responsibly disclosing this issue according to our [security reporting guidelines](https://github.com/argoproj/argo-cd/blob/master/SECURITY.md#reporting-a-vulnerability). ### References * PostDelete introducing commit: [dcc17f70bf7db973fe480b8b613189b2c5ac4b4b](https://github.com/argoproj/argo-cd/commit/dcc17f70bf7db973fe480b8b613189b2c5ac4b4b) ([#16595](https://github.com/argoproj/argo-cd/pull/16595)), first released in v2.10.0 * PreDelete introducing commit: [3bf3d8a2124e772ac651f3fd42375c4e9b8008af](https://github.com/argoproj/argo-cd/commit/3bf3d8a2124e772ac651f3fd42375c4e9b8008af) ([#22288](https://github.com/argoproj/argo-cd/pull/22288)), first released in v3.3.0 * [AppProject specification](https://argo-cd.readthedocs.io/en/stable/user-guide/projects/) * [Resource hooks](https://argo-cd.readthedocs.io/en/stable/user-guide/resource_hooks/) ### For more information * Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions) * Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd

Check your whole app

Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.

References

Merged from GitHub Advisory Database. Last updated 23 Oct 2026. All vulnerabilities · RSS · JSON