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
    • 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-46727

CVE-2025-46727: Rack Ruby Web Server DoS Vulnerability

CVE-2025-46727 is a denial of service vulnerability in Rack Ruby web server interface that allows attackers to exhaust memory and CPU via oversized parameter requests. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-46727 Overview

CVE-2025-46727 is a Denial of Service (DoS) vulnerability in Rack, the modular Ruby web server interface. The vulnerability exists in Rack::QueryParser, which parses query strings and application/x-www-form-urlencoded bodies into Ruby data structures without imposing any limit on the number of parameters. This allows attackers to send requests with extremely large numbers of parameters, consuming excessive memory and CPU resources during parsing.

Critical Impact

An attacker can trigger full service disruption by sending specifically crafted HTTP requests with hundreds of thousands of parameters, causing memory exhaustion or CPU resource starvation that stalls or crashes the Rack server until affected workers are restarted.

Affected Products

  • Rack versions prior to 2.2.14
  • Rack versions prior to 3.0.16
  • Rack versions prior to 3.1.14

Discovery Timeline

  • 2025-05-07 - CVE CVE-2025-46727 published to NVD
  • 2025-06-17 - Last updated in NVD database

Technical Details for CVE-2025-46727

Vulnerability Analysis

The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption). The flaw stems from the Rack::QueryParser component, which is responsible for parsing incoming HTTP query strings and form-encoded request bodies. When processing these inputs, the parser iterates over each &-separated key-value pair and adds it to a Ruby Hash data structure. The critical issue is that no upper bound is enforced on the total number of parameters that can be processed.

This architectural oversight allows an attacker to construct a single HTTP request containing an extremely large number of parameters—potentially hundreds of thousands or more. As the parser attempts to process each parameter, it allocates memory for every key-value pair and consumes CPU cycles during the parsing operation. The cumulative effect of processing such a massive parameter set leads to resource exhaustion.

The attack can be executed remotely over the network without any authentication or user interaction required. While the vulnerability does not compromise data confidentiality or integrity, it has a complete impact on system availability, making it a significant concern for any Ruby web application built on the Rack interface.

Root Cause

The root cause is the absence of input validation controls in Rack::QueryParser to limit the number of parameters accepted from incoming requests. The parser was designed to handle arbitrary parameter counts without considering the security implications of unbounded iteration over attacker-controlled input data. This represents a classic resource exhaustion vulnerability where algorithmic complexity can be weaponized through malicious input.

Attack Vector

The attack is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability by:

  1. Crafting an HTTP request with an extremely large query string containing numerous &-separated parameters (e.g., param1=value1¶m2=value2&... repeated hundreds of thousands of times)
  2. Alternatively, sending a POST request with a large application/x-www-form-urlencoded body containing similar parameter counts
  3. Directing this request to any endpoint on a vulnerable Rack-based application

When the malicious request reaches the Rack server, the QueryParser begins iterating over each parameter. The parsing process consumes increasing amounts of memory as each parameter is added to the Hash structure, while CPU resources are consumed by the parsing logic. This can result in worker processes becoming unresponsive, exhausting available memory, or causing the entire Rack server to crash.

Detection Methods for CVE-2025-46727

Indicators of Compromise

  • HTTP requests with abnormally large query strings (significantly exceeding typical application usage patterns)
  • POST requests with unusually large application/x-www-form-urlencoded bodies containing thousands of parameters
  • Sudden spikes in memory consumption on Rack server processes
  • Web worker processes becoming unresponsive or timing out
  • Increased CPU utilization during request parsing phases

Detection Strategies

  • Monitor web application logs for requests with query strings exceeding normal length thresholds
  • Implement alerting on Rack worker process memory consumption anomalies
  • Configure web application firewall (WAF) rules to flag or block requests with excessive parameter counts
  • Use application performance monitoring (APM) tools to track parsing latency and resource utilization
  • Analyze reverse proxy logs for requests that exceed size thresholds before reaching the application

Monitoring Recommendations

  • Set up alerts for Rack worker processes exceeding memory thresholds
  • Monitor request queue depths for signs of worker starvation
  • Track HTTP 503 error rates that may indicate service degradation
  • Implement logging at the reverse proxy layer to capture oversized requests
  • Monitor CPU utilization patterns on application servers for parsing-related spikes

How to Mitigate CVE-2025-46727

Immediate Actions Required

  • Upgrade Rack to patched versions: 2.2.14, 3.0.16, or 3.1.14 immediately
  • If immediate patching is not possible, implement request size limits at the reverse proxy or CDN layer
  • Deploy middleware to enforce maximum query string size or parameter count limits
  • Review and configure Nginx, Apache, or other reverse proxy settings to reject oversized requests
  • Monitor application servers for signs of exploitation attempts

Patch Information

The Rack maintainers have released patched versions that address this vulnerability by implementing parameter count limits in the QueryParser component. The following versions contain the fix:

  • Rack 2.2.14 for the 2.x branch
  • Rack 3.0.16 for the 3.0.x branch
  • Rack 3.1.14 for the 3.1.x branch

Relevant commits and security advisory:

  • GitHub Commit Update
  • GitHub Commit Fix
  • GitHub Commit Improvement
  • GitHub Security Advisory GHSA-gjh7-p2fx-99vx

Workarounds

  • Deploy middleware that enforces a maximum query string size or parameter count before requests reach Rack::QueryParser
  • Use a reverse proxy such as Nginx to limit request sizes and reject oversized query strings or request bodies
  • Configure CDN-level protections to limit request body sizes and query string lengths
  • Implement rate limiting to reduce the impact of repeated malicious requests
  • Consider deploying a web application firewall with rules to block requests exceeding parameter thresholds
bash
# Nginx configuration to limit request sizes
# Add to server or http block in nginx.conf

# Limit the maximum size of the client request body
client_max_body_size 1m;

# Limit the buffer size for reading client request body
client_body_buffer_size 16k;

# Limit URI length (includes query string)
large_client_header_buffers 4 8k;

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRack

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.14%

  • 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-400
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Fix

  • GitHub Commit Improvement

  • GitHub Security Advisory GHSA-gjh7-p2fx-99vx
  • Related CVEs
  • CVE-2026-34827: Rack Multipart Parser DoS Vulnerability

  • CVE-2026-34829: Rack Multipart Parser DoS Vulnerability

  • CVE-2026-34826: Rack Web Server Interface DoS Vulnerability

  • CVE-2026-34230: Rack Web Server Interface DoS 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