{"id":"GHSA-8f76-vwjj-hxgq","aliases":[],"summary":"ApplicationSet SCM provider allowlist not enforced for Bitbucket Cloud and Azure DevOps pull request generators","published_at":"2026-11-20T03:47:14Z","modified_at":"2026-11-20T03:47:15Z","products":[{"slug":"argo-cd","name":"Argo CD","category":"gitops-cicd"}],"rating":{"severity":"high","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":10.5,"record_count":1,"vendors":["GitHub"],"details":"### Impact\n\nWith ApplicationSets in any namespace, users who aren't Argo CD admins can manage their own ApplicationSets, and the `--allowed-scm-providers` setting limits which SCM hosts their generators may contact. The Pull Request generator didn't apply that allowlist to Bitbucket Cloud or Azure DevOps. A user who can create or update an ApplicationSet could point one of those generators at a host they control and set `tokenRef` to any Secret in the Argo CD namespace. The ApplicationSet controller then sent that Secret's value to the attacker's host. The leaked Secret could be `argocd-secret`, whose token signing key lets the attacker mint an admin token.\n\nAll versions from v2.8.0 onward are affected, up to the patched version below. ApplicationSets in any namespace were introduced in [e8f512686](https://github.com/argoproj/argo-cd/commit/e8f512686e262691f8161141255725187c0558b4) ([#12378](https://github.com/argoproj/argo-cd/pull/12378)).\n\nOnly installations that enable ApplicationSets in any namespace and let users who aren't admins create or update ApplicationSets are affected. The attacker must run a host that can receive the request.\n\n### Patches\n\nA patch for this vulnerability has been released in the following Argo CD version:\n\n* v2.10.0\n\nThe SCM provider allowlist now applies to every SCM and Pull Request generator, and SCM providers can be disabled entirely. Since v2.14.0, `tokenRef` can additionally be restricted to Secrets labeled `argocd.argoproj.io/secret-type: scm-creds` ([#20309](https://github.com/argoproj/argo-cd/pull/20309)).\n\n### Workarounds\n\n* Disable ApplicationSets in any namespace, or limit ApplicationSet create and update permissions, through every mechanism, to Argo CD admins.\n* Restrict network egress from the ApplicationSet controller to trusted SCM hosts, including hosts inside the cluster.\n* To limit the damage of a leaked signing key, disable the `admin` account and limit the permissions of local accounts and project roles.\n\nSee [SCM Providers secrets consideration](https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Appset-Any-Namespace/#scm-providers-secrets-consideration).\n\n### Credits\n\nThis issue was found by the Argo CD team.\n\n### References\n\n* Fix: [43fe01a11](https://github.com/argoproj/argo-cd/commit/43fe01a113c35db31c3110c03d5f3be344a43ecb) ([#15248](https://github.com/argoproj/argo-cd/pull/15248))\n* Additional hardening: [a25378f1e](https://github.com/argoproj/argo-cd/commit/a25378f1efcc09dc25a4169927e57bf2e15accca) ([#20309](https://github.com/argoproj/argo-cd/pull/20309))\n* Introducing commit: [e8f512686](https://github.com/argoproj/argo-cd/commit/e8f512686e262691f8161141255725187c0558b4) ([#12378](https://github.com/argoproj/argo-cd/pull/12378)), first released in v2.8.0\n\n### For more information\n\n* 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)\n* Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd","affected_stack":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.10.0"}]}],"fixed":["2.10.0"],"provider":"github-repo-advisories","source":"GHSA-8f76-vwjj-hxgq","relation":"self"}],"affected_other":[],"product_status":[],"records":[{"provider":"github-repo-advisories","source_id":"GHSA-8f76-vwjj-hxgq","relation":"self","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-8f76-vwjj-hxgq","license":"GitHub Terms of Service","published_at":"2026-11-20T03:47:14Z","modified_at":"2026-11-20T03:47:15Z","summary":"ApplicationSet SCM provider allowlist not enforced for Bitbucket Cloud and Azure DevOps pull request generators","details":"### Impact\n\nWith ApplicationSets in any namespace, users who aren't Argo CD admins can manage their own ApplicationSets, and the `--allowed-scm-providers` setting limits which SCM hosts their generators may contact. The Pull Request generator didn't apply that allowlist to Bitbucket Cloud or Azure DevOps. A user who can create or update an ApplicationSet could point one of those generators at a host they control and set `tokenRef` to any Secret in the Argo CD namespace. The ApplicationSet controller then sent that Secret's value to the attacker's host. The leaked Secret could be `argocd-secret`, whose token signing key lets the attacker mint an admin token.\n\nAll versions from v2.8.0 onward are affected, up to the patched version below. ApplicationSets in any namespace were introduced in [e8f512686](https://github.com/argoproj/argo-cd/commit/e8f512686e262691f8161141255725187c0558b4) ([#12378](https://github.com/argoproj/argo-cd/pull/12378)).\n\nOnly installations that enable ApplicationSets in any namespace and let users who aren't admins create or update ApplicationSets are affected. The attacker must run a host that can receive the request.\n\n### Patches\n\nA patch for this vulnerability has been released in the following Argo CD version:\n\n* v2.10.0\n\nThe SCM provider allowlist now applies to every SCM and Pull Request generator, and SCM providers can be disabled entirely. Since v2.14.0, `tokenRef` can additionally be restricted to Secrets labeled `argocd.argoproj.io/secret-type: scm-creds` ([#20309](https://github.com/argoproj/argo-cd/pull/20309)).\n\n### Workarounds\n\n* Disable ApplicationSets in any namespace, or limit ApplicationSet create and update permissions, through every mechanism, to Argo CD admins.\n* Restrict network egress from the ApplicationSet controller to trusted SCM hosts, including hosts inside the cluster.\n* To limit the damage of a leaked signing key, disable the `admin` account and limit the permissions of local accounts and project roles.\n\nSee [SCM Providers secrets consideration](https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Appset-Any-Namespace/#scm-providers-secrets-consideration).\n\n### Credits\n\nThis issue was found by the Argo CD team.\n\n### References\n\n* Fix: [43fe01a11](https://github.com/argoproj/argo-cd/commit/43fe01a113c35db31c3110c03d5f3be344a43ecb) ([#15248](https://github.com/argoproj/argo-cd/pull/15248))\n* Additional hardening: [a25378f1e](https://github.com/argoproj/argo-cd/commit/a25378f1efcc09dc25a4169927e57bf2e15accca) ([#20309](https://github.com/argoproj/argo-cd/pull/20309))\n* Introducing commit: [e8f512686](https://github.com/argoproj/argo-cd/commit/e8f512686e262691f8161141255725187c0558b4) ([#12378](https://github.com/argoproj/argo-cd/pull/12378)), first released in v2.8.0\n\n### For more information\n\n* 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)\n* Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GHSA-8f76-vwjj-hxgq"}],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.10.0"}]}],"fixed":["2.10.0"],"provider":"github-repo-advisories","source":"GHSA-8f76-vwjj-hxgq","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-8f76-vwjj-hxgq"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-8f76-vwjj-hxgq"}],"sources":[{"provider":"github-repo-advisories","source_id":"GHSA-8f76-vwjj-hxgq","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-8f76-vwjj-hxgq","license":"GitHub Terms of Service","modified_at":"2026-11-20T03:47:15Z","relation":"self"}]}
