Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/argoproj/argo-cd/v2
  4. ›
  5. CVE-2026-77459

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

October 15, 2026

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 (2023-12-18, #16595) and first released in v2.10.0. That creation path has never applied the project check. PreDelete hooks, added in 3bf3d8a212 (2025-12-05, #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.

References

  • github.com/advisories/GHSA-fmxq-cgp8-87wp
  • github.com/argoproj/argo-cd/commit/1149cdc6e932208c4402183cc3d7b7485239940c
  • github.com/argoproj/argo-cd/commit/4bc8085b0a6d2296b849539d3d09fc7be7a4a511
  • github.com/argoproj/argo-cd/commit/7f0a05834b05103d69d7c150e1ee36541b314696
  • github.com/argoproj/argo-cd/commit/d5dd7019ee65be8895133fe4df554e28074242c4
  • github.com/argoproj/argo-cd/releases/tag/v3.3.15
  • github.com/argoproj/argo-cd/releases/tag/v3.4.10
  • github.com/argoproj/argo-cd/releases/tag/v3.5.4
  • github.com/argoproj/argo-cd/releases/tag/v3.6.0-rc2
  • github.com/argoproj/argo-cd/security/advisories/GHSA-fmxq-cgp8-87wp
  • nvd.nist.gov/vuln/detail/CVE-2026-77459

Code Behaviors & Features

Detect and mitigate CVE-2026-77459 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.10.0 up to 2.14.21

Solution

Unfortunately, there is no solution available yet.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/argoproj/argo-cd/v2/CVE-2026-77459.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:04 +0000.