{"id":"GHSA-h67h-99w8-xf8r","aliases":[],"summary":"Unauthenticated webhook request with an empty repository path crashes the API server","published_at":"2026-11-20T03:41:41Z","modified_at":"2026-11-20T03:41:41Z","products":[{"slug":"argo-cd","name":"Argo CD","category":"gitops-cicd"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","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\nA webhook push event whose repository URL has no path, such as `http://my.domain.com`, made the API server index past the end of an empty string while matching the event to Applications. The resulting panic happened in a webhook worker goroutine, outside any request recovery, so the whole `argocd-server` process crashed. `/api/webhook` doesn't use Argo CD authentication and is usually reachable from the internet, so anyone could crash the API server repeatedly with a single unauthenticated request.\n\nAll versions from v0.4.0 onward are affected, up to the patched version below. The unchecked index was introduced with webhook support in [ac938fe8a](https://github.com/argoproj/argo-cd/commit/ac938fe8a3af46f7aac07d607bfdd0a375e74103) ([#160](https://github.com/argoproj/argo-cd/pull/160)).\n\nA webhook secret for the provider used in the request blocks this, but providers without a configured secret accept unsigned events, so in practice most installations were exposed.\n\n### Patches\n\nA patch for this vulnerability has been released in the following Argo CD version:\n\n* v3.1.0\n\nThe fix was not backported; Argo CD 3.0 and earlier are out of support.\n\n### Workarounds\n\nConfigure a [webhook secret](https://argo-cd.readthedocs.io/en/stable/operator-manual/webhook/) for every Git provider, or block access to `/api/webhook` at your ingress or load balancer if you don't use webhooks.\n\n### Credits\n\nThe Argo CD team would like to thank @regiontog for responsibly disclosing this issue.\n\n### References\n\n* Fix: [3e7625a25](https://github.com/argoproj/argo-cd/commit/3e7625a255807d0207d8ac50cba5d94c975b84a4) ([#23042](https://github.com/argoproj/argo-cd/pull/23042))\n* Introducing commit: [ac938fe8a](https://github.com/argoproj/argo-cd/commit/ac938fe8a3af46f7aac07d607bfdd0a375e74103) ([#160](https://github.com/argoproj/argo-cd/pull/160)), first released in v0.4.0\n* [Webhook configuration](https://argo-cd.readthedocs.io/en/stable/operator-manual/webhook/)\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","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0"},{"fixed":"2.0.0"}]}],"fixed":["2.0.0"],"provider":"github-repo-advisories","source":"GHSA-h67h-99w8-xf8r","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"}]}],"provider":"github-repo-advisories","source":"GHSA-h67h-99w8-xf8r","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.1.0"}]}],"fixed":["3.1.0"],"provider":"github-repo-advisories","source":"GHSA-h67h-99w8-xf8r","relation":"self"}],"affected_other":[],"product_status":[],"records":[{"provider":"github-repo-advisories","source_id":"GHSA-h67h-99w8-xf8r","relation":"self","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-h67h-99w8-xf8r","license":"GitHub Terms of Service","published_at":"2026-11-20T03:41:41Z","modified_at":"2026-11-20T03:41:41Z","summary":"Unauthenticated webhook request with an empty repository path crashes the API server","details":"### Impact\n\nA webhook push event whose repository URL has no path, such as `http://my.domain.com`, made the API server index past the end of an empty string while matching the event to Applications. The resulting panic happened in a webhook worker goroutine, outside any request recovery, so the whole `argocd-server` process crashed. `/api/webhook` doesn't use Argo CD authentication and is usually reachable from the internet, so anyone could crash the API server repeatedly with a single unauthenticated request.\n\nAll versions from v0.4.0 onward are affected, up to the patched version below. The unchecked index was introduced with webhook support in [ac938fe8a](https://github.com/argoproj/argo-cd/commit/ac938fe8a3af46f7aac07d607bfdd0a375e74103) ([#160](https://github.com/argoproj/argo-cd/pull/160)).\n\nA webhook secret for the provider used in the request blocks this, but providers without a configured secret accept unsigned events, so in practice most installations were exposed.\n\n### Patches\n\nA patch for this vulnerability has been released in the following Argo CD version:\n\n* v3.1.0\n\nThe fix was not backported; Argo CD 3.0 and earlier are out of support.\n\n### Workarounds\n\nConfigure a [webhook secret](https://argo-cd.readthedocs.io/en/stable/operator-manual/webhook/) for every Git provider, or block access to `/api/webhook` at your ingress or load balancer if you don't use webhooks.\n\n### Credits\n\nThe Argo CD team would like to thank @regiontog for responsibly disclosing this issue.\n\n### References\n\n* Fix: [3e7625a25](https://github.com/argoproj/argo-cd/commit/3e7625a255807d0207d8ac50cba5d94c975b84a4) ([#23042](https://github.com/argoproj/argo-cd/pull/23042))\n* Introducing commit: [ac938fe8a](https://github.com/argoproj/argo-cd/commit/ac938fe8a3af46f7aac07d607bfdd0a375e74103) ([#160](https://github.com/argoproj/argo-cd/pull/160)), first released in v0.4.0\n* [Webhook configuration](https://argo-cd.readthedocs.io/en/stable/operator-manual/webhook/)\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:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-h67h-99w8-xf8r"}],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0"},{"fixed":"2.0.0"}]}],"fixed":["2.0.0"],"provider":"github-repo-advisories","source":"GHSA-h67h-99w8-xf8r","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"}]}],"provider":"github-repo-advisories","source":"GHSA-h67h-99w8-xf8r","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.1.0"}]}],"fixed":["3.1.0"],"provider":"github-repo-advisories","source":"GHSA-h67h-99w8-xf8r","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-h67h-99w8-xf8r"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-h67h-99w8-xf8r"}],"sources":[{"provider":"github-repo-advisories","source_id":"GHSA-h67h-99w8-xf8r","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-h67h-99w8-xf8r","license":"GitHub Terms of Service","modified_at":"2026-11-20T03:41:41Z","relation":"self"}]}
