GitHub Advisoryadvisory · Go
GHSA-f9gq-prrc-hrhc Unauthenticated argocd-server panic via a malicious Bitbucket-Server webhook payload
HIGH
Official page ↗
- Aliases
- CVE-2025-59531
- Ecosystem
- Go
- Packages
- github.com/argoproj/argo-cd, github.com/argoproj/argo-cd/v2, github.com/argoproj/argo-cd/v3
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-703
- Reviewed
- 2025-09-30
Affected packages
• Go github.com/argoproj/argo-cd: >= 1.2.0, <= 1.8.7 (no fix yet)
• Go github.com/argoproj/argo-cd/v2: >= 2.0.0-rc1, < 2.14.20 → fixed in 2.14.20
• Go github.com/argoproj/argo-cd/v3: >= 3.2.0-rc1, < 3.2.0-rc2 → fixed in 3.2.0-rc2
• Go github.com/argoproj/argo-cd/v3: >= 3.1.0-rc1, < 3.1.8 → fixed in 3.1.8
• Go github.com/argoproj/argo-cd/v3: >= 3.0.0-rc1, < 3.0.19 → fixed in 3.0.19
Description
Summary
Unpatched Argo CD versions are vulnerable to malicious API requests which can crash the API server and cause denial of service to legitimate clients.
With the default configuration, no `webhook.bitbucketserver.secret` set, Argo CD’s /api/webhook endpoint will crash the entire argocd-server process when it receives a Bitbucket-Server push event whose JSON field `repository.links.clone` is anything other than an array.
A single unauthenticated curl request can push the control-plane into CrashLoopBackOff; repeating the request on each replica causes a complete outage of the API.
Details
```go
// webhook.go (Bitbucket-Server branch in affectedRevisionInfo)
for _, l := range payload.Repository.Links["clone"].([]any) { //
```
For more information
• Open an issue in the Argo CD issue tracker or discussions
• Join us on Slack in channel #argo-cd
Credits
Discovered by Jakub Ciolek at AlphaSense.
Related
Alias · CVE (1)
- CVE-2025-59531 Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. vulnerability
Weakness · CWE (1)
- CWE-703 Improper Check or Handling of Exceptional Conditions weakness
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-f9gq-prrc-hrhc web
- https://nvd.nist.gov/vuln/detail/CVE-2025-59531 advisory
- https://github.com/argoproj/argo-cd/commit/5c466a4e39802e059e75c0008ae7b7b8e842538f web
- https://github.com/argoproj/argo-cd package
- https://pkg.go.dev/vuln/GO-2025-3993 web