The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-59537

CVE-2025-59537: Argoproj Argo CD DoS Vulnerability

CVE-2025-59537 is a denial of service flaw in Argoproj Argo CD that allows malicious API requests to crash the server. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: April 15, 2026

CVE-2025-59537 Overview

CVE-2025-59537 is a Null Pointer Dereference vulnerability in Argo CD, the popular declarative GitOps continuous delivery tool for Kubernetes. This vulnerability allows unauthenticated attackers to crash the Argo CD API server by sending specially crafted webhook requests, resulting in denial of service to legitimate clients.

The flaw exists in the /api/webhook endpoint handling of Gogs push events. When Argo CD is configured with the default settings (no webhook.gogs.secret set), the argocd-server process will crash upon receiving a Gogs push event where the commits[].repo JSON field is null or not set. This improper input validation leads to a null pointer dereference, terminating the entire API server process.

Critical Impact

Unauthenticated remote attackers can repeatedly crash the Argo CD API server, disrupting GitOps workflows and Kubernetes deployments across the entire organization.

Affected Products

  • Argo CD versions 1.2.0 through 1.8.7
  • Argo CD versions 2.0.0-rc1 through 2.14.19
  • Argo CD versions 3.0.0-rc1 through 3.2.0-rc1, 3.1.7, and 3.0.18

Discovery Timeline

  • 2025-10-01 - CVE CVE-2025-59537 published to NVD
  • 2025-10-07 - Last updated in NVD database

Technical Details for CVE-2025-59537

Vulnerability Analysis

This vulnerability stems from improper input validation (CWE-20) combined with a null pointer dereference (CWE-476) in the Argo CD webhook handler. The argocd-server component exposes a /api/webhook endpoint that processes incoming Git repository events from various providers including Gogs.

When processing a gogsclient.PushPayload, the webhook handler directly accesses the payload.Repo object without first validating that it exists. If an attacker sends a Gogs push event with a null or missing repo field within the commits array, the code attempts to access properties like payload.Repo.HTMLURL and payload.Repo.DefaultBranch on a nil pointer, causing the Go runtime to panic and crash the entire argocd-server process.

The vulnerability is particularly dangerous because it affects default configurations where no webhook secret is configured, meaning any unauthenticated attacker who can reach the webhook endpoint can exploit this flaw.

Root Cause

The root cause is missing null pointer validation when handling the gogsclient.PushPayload webhook event. The original code assumed the payload.Repo object would always be present and valid, directly accessing its fields without defensive checks. This violates secure coding principles for input validation, especially critical for externally-accessible API endpoints.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker simply sends a malformed HTTP POST request to the /api/webhook endpoint containing a Gogs push event payload with a null or missing repo field. This causes immediate server termination, and repeated requests can maintain a persistent denial of service condition.

go
// Vulnerable code path in util/webhook/webhook.go
// The fix adds null check before accessing payload.Repo properties

	case gogsclient.PushPayload:
		revision = ParseRevision(payload.Ref)
		change.shaAfter = ParseRevision(payload.After)
		change.shaBefore = ParseRevision(payload.Before)
		if payload.Repo != nil {
			webURLs = append(webURLs, payload.Repo.HTMLURL)
			touchedHead = payload.Repo.DefaultBranch == revision
		}
		for _, commit := range payload.Commits {
			changedFiles = append(changedFiles, commit.Added...)
			changedFiles = append(changedFiles, commit.Modified...)

Source: GitHub Commit Details

Detection Methods for CVE-2025-59537

Indicators of Compromise

  • Unexpected argocd-server process restarts or crashes in pod logs
  • HTTP POST requests to /api/webhook endpoint with malformed JSON payloads containing null repo fields
  • Kubernetes pod restart events for argocd-server with exit code indicating panic
  • Increased error rates in Argo CD application sync operations due to API unavailability

Detection Strategies

  • Monitor Kubernetes pod restart counts for argocd-server deployments using metrics like kube_pod_container_status_restarts_total
  • Implement web application firewall (WAF) rules to validate webhook payloads before they reach Argo CD
  • Enable detailed access logging on ingress controllers or load balancers fronting the webhook endpoint
  • Configure alerting on argocd-server container logs containing Go panic stack traces

Monitoring Recommendations

  • Set up real-time alerts for argocd-server pod crashes or high restart rates
  • Monitor webhook endpoint access patterns for unusual request volumes or sources
  • Track application sync failures that may indicate API server unavailability
  • Review network traffic to /api/webhook for requests from unexpected IP addresses

How to Mitigate CVE-2025-59537

Immediate Actions Required

  • Upgrade Argo CD to patched versions: 2.14.20, 3.0.19, 3.1.8, or 3.2.0-rc2
  • Configure webhook.gogs.secret in Argo CD settings to require authenticated webhook requests
  • Restrict network access to the /api/webhook endpoint using network policies or firewall rules
  • Consider temporarily disabling the webhook endpoint if Gogs integration is not actively used

Patch Information

The vulnerability is fixed in Argo CD versions 2.14.20, 3.0.19, 3.1.8, and 3.2.0-rc2. The patch adds a null check before accessing the payload.Repo object properties, preventing the null pointer dereference. The security fix is available in commit 761fc27068d2d4cd24e1f784eb2a9033b5ee7f43. For detailed patch information, refer to the GitHub Security Advisory GHSA-wp4p-9pxh-cgx2.

Workarounds

  • Configure a webhook secret by setting webhook.gogs.secret in the argocd-cm ConfigMap to reject unsigned webhook requests
  • Implement network policies to restrict access to the /api/webhook endpoint only from known Gogs server IP addresses
  • Deploy a reverse proxy or API gateway with request validation to filter malformed webhook payloads
  • If Gogs integration is not required, disable the webhook endpoint entirely through Argo CD configuration
bash
# Configure webhook secret in argocd-cm ConfigMap
kubectl patch configmap argocd-cm -n argocd --type merge -p '{"data":{"webhook.gogs.secret":"your-secure-secret-here"}}'

# Apply network policy to restrict webhook endpoint access
kubectl apply -f - <<EOF
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: restrict-argocd-webhook
  namespace: argocd
spec:
  podSelector:
    matchLabels:
      app.kubernetes.io/name: argocd-server
  policyTypes:
  - Ingress
  ingress:
  - from:
    - ipBlock:
        cidr: 10.0.0.0/8  # Replace with your Gogs server IP range
    ports:
    - protocol: TCP
      port: 8080
EOF

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechArgo Cd

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.21%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • CWE-476
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-wp4p-9pxh-cgx2
  • Related CVEs
  • CVE-2025-59531: Argoproj Argo CD DoS Vulnerability

  • CVE-2025-59538: Argoproj Argo CD DoS Vulnerability

  • CVE-2025-55190: Argo CD Information Disclosure Flaw

  • CVE-2025-47933: Argo CD XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English