GHSA-fmxq-cgp8-87wp: Critical severity go/github.com/argoproj/argo-cd/v3 vulnerability

Published Oct 15, 2026
·
Updated

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

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.

References

PostDelete introducing commit: dcc17f70bf7db973fe480b8b613189b2c5ac4b4b (#16595), first released in v2.10.0 PreDelete introducing commit: 3bf3d8a2124e772ac651f3fd42375c4e9b8008af (#22288), first released in v3.3.0 AppProject specification Resource hooks

For more information

Open an issue in the Argo CD issue tracker or discussions Join us on Slack in channel #argo-cd

Affected Software

5 affected componentsFixes available
go/github.com/argoproj/argo-cd/v3>=3.6.0-rc1<3.6.0-rc2
3.6.0-rc2
go/github.com/argoproj/argo-cd/v3>=3.5.0<3.5.4
3.5.4
go/github.com/argoproj/argo-cd/v3>=3.4.0<3.4.10
3.4.10
go/github.com/argoproj/argo-cd/v3>=3.0.0<3.3.15
3.3.15
go/github.com/argoproj/argo-cd/v2>=2.10.0<=2.14.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/argoproj/argo-cd/v3 to a version that resolves this vulnerability.

    Fixed in 3.6.0-rc2
  2. Upgrade

    Upgrade go/github.com/argoproj/argo-cd/v3 to a version that resolves this vulnerability.

    Fixed in 3.5.4
  3. Upgrade

    Upgrade go/github.com/argoproj/argo-cd/v3 to a version that resolves this vulnerability.

    Fixed in 3.4.10
  4. Upgrade

    Upgrade go/github.com/argoproj/argo-cd/v3 to a version that resolves this vulnerability.

    Fixed in 3.3.15
  5. Upgrade

    Upgrade Argo CD to a version that resolves this vulnerability.

    Fixed in v3.3.15
  6. Upgrade

    Upgrade Argo CD to a version that resolves this vulnerability.

    Fixed in v3.4.10
  7. Upgrade

    Upgrade Argo CD to a version that resolves this vulnerability.

    Fixed in v3.5.4
  8. Upgrade

    Upgrade Argo CD to a version that resolves this vulnerability.

    Fixed in v3.6.0-rc2
  9. Compensating control

    Do not grant untrusted users write access to Git repositories that back Applications in restrictive AppProjects.

  10. Compensating control

    Limit who can delete Applications.

  11. Compensating control

    Tighten the application-controller's Kubernetes access so a hook cannot reach sensitive namespaces or APIs.

Event History

Oct 15, 2026
Advisory Published
via GitHub·08:19 PM
Data Sourced
via GitHub·08:19 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which Argo CD versions are affected?

All versions from v2.10.0 onward are affected, including currently supported releases. Versions v2.9.22 and earlier are not affected.

2

Which hook types can bypass the AppProject check?

PostDelete hooks bypass the check in all affected versions. PreDelete hooks use the same unchecked creation path starting in v3.3.0; v3.2.12 and earlier do not include PreDelete hooks.

3

What happens when the vulnerable path is triggered?

When an Application is deleted, Argo CD creates its PreDelete or PostDelete hooks on the destination cluster using the application-controller's credentials. That creation does not enforce the AppProject restrictions for destinations, resource allow or deny lists, or resource names.

4

What should be reviewed while remediation is pending?

Review Applications that use PostDelete hooks, and PreDelete hooks on v3.3.0 or later, especially where AppProjects are intended to restrict destination clusters, namespaces, resource types, or resource names. Avoid relying on AppProject policy to constrain resources created through these deletion hooks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203