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-32030

CVE-2025-32030: Apollo Gateway DOS Vulnerability

CVE-2025-32030 is a denial of service vulnerability in Apollo Gateway caused by deeply nested GraphQL fragments that consume excessive resources. This article covers technical details, affected versions, and mitigation.

Published: April 29, 2026

CVE-2025-32030 Overview

A denial of service vulnerability exists in Apollo Gateway, a utility for combining multiple GraphQL microservices into a single GraphQL endpoint. Prior to version 2.10.1, the query planning mechanism improperly handled deeply nested and reused named fragments, leading to exponential resource usage during fragment expansion. This algorithmic complexity attack allows unauthenticated remote attackers to cause excessive resource consumption and denial of service by crafting malicious GraphQL queries.

Critical Impact

Unauthenticated attackers can exploit this vulnerability remotely to cause denial of service through resource exhaustion, potentially rendering GraphQL-based applications and APIs completely unavailable.

Affected Products

  • Apollo Gateway versions prior to 2.10.1
  • @apollo/gateway npm package (Node.js)
  • GraphQL federated microservices using vulnerable Apollo Gateway versions

Discovery Timeline

  • 2025-04-07 - CVE-2025-32030 published to NVD
  • 2025-08-01 - Last updated in NVD database

Technical Details for CVE-2025-32030

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The flaw resides in Apollo Gateway's query planning logic, specifically in how named fragments are processed and expanded during query execution planning.

When Apollo Gateway receives a GraphQL query containing named fragments, it expands these fragments to understand the complete query structure for planning purposes. The vulnerable implementation expanded named fragments once per fragment spread encountered during query planning. When an attacker crafts a query with deeply nested fragments that reference each other repeatedly, the expansion process follows an exponential growth pattern.

For example, if a fragment references itself through nested structures multiple times, each level of nesting multiplies the expansion work required. This creates an algorithmic complexity vulnerability where relatively small malicious queries can trigger massive computational overhead, exhausting server CPU and memory resources.

Root Cause

The root cause stems from the naive implementation of named fragment expansion in the query planner. Rather than caching or memoizing fragment expansions, the system performed redundant expansions for each fragment spread reference. This design flaw transforms what should be linear or polynomial time complexity into exponential time complexity when processing queries with deeply nested, reused fragment structures.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted GraphQL queries to any exposed Apollo Gateway endpoint. The attack leverages the following characteristics:

The attacker constructs a GraphQL query containing multiple named fragments with deep nesting and cross-references between fragments. When the gateway's query planner processes this malicious query, each fragment spread triggers a full expansion of the referenced fragment, including all its nested fragment spreads. This recursive expansion without proper bounds checking leads to exponential resource consumption.

The attack is particularly effective because GraphQL endpoints are typically designed to handle complex queries, making it difficult to distinguish between legitimate complex queries and malicious ones without specific protections against this vulnerability pattern.

Detection Methods for CVE-2025-32030

Indicators of Compromise

  • Abnormal CPU or memory spikes on servers running Apollo Gateway
  • GraphQL queries containing unusually deep fragment nesting patterns
  • Slow or unresponsive GraphQL API endpoints without proportional traffic increases
  • Server logs showing query planning timeouts or memory allocation failures

Detection Strategies

  • Implement query complexity analysis to identify and flag queries with excessive fragment depth or reuse patterns
  • Monitor resource utilization metrics (CPU, memory) on Apollo Gateway instances for anomalous spikes
  • Deploy Web Application Firewall (WAF) rules to detect and block GraphQL queries with suspicious fragment patterns
  • Enable detailed logging of query planning duration to identify abnormally slow query processing

Monitoring Recommendations

  • Set up alerts for query planning operations exceeding normal duration thresholds
  • Monitor the ratio of query complexity to response time for anomaly detection
  • Implement rate limiting on GraphQL endpoints to mitigate the impact of exploitation attempts
  • Track memory allocation patterns during query processing for early detection of resource exhaustion attacks

How to Mitigate CVE-2025-32030

Immediate Actions Required

  • Upgrade @apollo/gateway to version 2.10.1 or later immediately
  • Implement query depth limiting on GraphQL endpoints as a defense-in-depth measure
  • Enable query cost analysis to reject excessively complex queries before planning
  • Review and audit exposed GraphQL endpoints for proper access controls and rate limiting

Patch Information

Apollo has released @apollo/gateway version 2.10.1 which remediates this vulnerability by optimizing the named fragment expansion logic during query planning. The fix prevents the exponential resource usage by implementing proper caching and bounds checking for fragment expansions.

For detailed information about the fix, refer to the GitHub Pull Request #3236 and the GitHub Security Advisory GHSA-q2f9-x4p4-7xmh. The patched version is available at the GitHub Release Tag.

Workarounds

  • Implement query complexity limits using GraphQL depth limiting middleware before queries reach the gateway
  • Deploy a reverse proxy or WAF with rules to reject queries exceeding reasonable fragment nesting thresholds
  • Implement request timeout mechanisms to terminate long-running query planning operations
  • Consider temporary rate limiting on GraphQL endpoints while planning the upgrade
bash
# Upgrade Apollo Gateway to patched version
npm update @apollo/gateway@2.10.1

# Verify installed version
npm list @apollo/gateway

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechApollographql

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.41%

  • 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-770
  • Technical References
  • GitHub Release Tag
  • Vendor Resources
  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-32031: Apollo Gateway DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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