Join the Cyber Forum: Threat Intel on May 12. 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2026-34756

CVE-2026-34756: vLLM OpenAI API Server DoS Vulnerability

CVE-2026-34756 is a denial of service flaw in vLLM's OpenAI-compatible API server that allows attackers to crash the system via unbounded parameter values. This article covers technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-34756 Overview

CVE-2026-34756 is a Denial of Service vulnerability affecting vLLM, a popular inference and serving engine for large language models (LLMs). The vulnerability exists in the OpenAI-compatible API server from version 0.1.0 to before 0.19.0. Due to the lack of upper bound validation on the n parameter in the ChatCompletionRequest and CompletionRequest Pydantic models, an unauthenticated attacker can send a single HTTP request with an astronomically large n value. This completely blocks the Python asyncio event loop and causes immediate Out-Of-Memory (OOM) crashes by allocating millions of request object copies in the heap before the request even reaches the scheduling queue.

Critical Impact

A single malicious HTTP request can completely crash vLLM API servers, causing service disruption for all users relying on the LLM inference service.

Affected Products

  • vLLM versions 0.1.0 through 0.18.x
  • vLLM OpenAI-compatible API server endpoints
  • Systems exposing vLLM API endpoints without additional rate limiting or input validation

Discovery Timeline

  • 2026-04-06 - CVE-2026-34756 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-34756

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The vLLM OpenAI-compatible API server accepts completion requests that include an n parameter specifying how many completions to generate. The vulnerable code paths in both ChatCompletionRequest and CompletionRequest Pydantic models fail to enforce any maximum boundary on this parameter value.

When an attacker submits a request with an extremely large n value (potentially millions or billions), the server attempts to pre-allocate memory structures for each requested completion. This occurs synchronously within the Python asyncio event loop, meaning the entire server becomes unresponsive while attempting the allocation. The memory exhaustion typically triggers an Out-Of-Memory condition that crashes the entire vLLM process.

The attack is particularly dangerous because it can be executed by unauthenticated users, requires only a single HTTP request, and the malicious payload reaches memory allocation routines before any scheduling or rate-limiting mechanisms can intervene.

Root Cause

The root cause is missing input validation on the n parameter within the Pydantic request models. The ChatCompletionRequest and CompletionRequest classes accept the n field without defining a maximum constraint using Pydantic's Field validator with a le (less than or equal) parameter. This allows arbitrarily large integer values to be processed, leading to resource exhaustion during object instantiation.

Attack Vector

The attack is network-based and requires no authentication or special privileges. An attacker sends a crafted HTTP POST request to the vLLM OpenAI-compatible API endpoint (typically /v1/completions or /v1/chat/completions) with a JSON body containing an extremely large n value.

The malicious request triggers immediate memory allocation before reaching request scheduling or queueing mechanisms. Because the allocation happens within the asyncio event loop, the entire server becomes blocked, affecting all concurrent users. The server either crashes from OOM conditions or becomes completely unresponsive until manually restarted.

No verified code examples are available for this vulnerability. The attack involves sending a standard OpenAI-compatible API request with a maliciously large n parameter value. Technical details can be found in the GitHub Security Advisory.

Detection Methods for CVE-2026-34756

Indicators of Compromise

  • Unexpected vLLM process crashes with Out-Of-Memory errors
  • API server becoming unresponsive to all requests suddenly
  • Log entries showing completion requests with abnormally large n parameter values
  • Memory usage spikes followed by process termination

Detection Strategies

  • Monitor incoming API requests for n parameter values exceeding reasonable thresholds (e.g., > 100)
  • Implement web application firewall (WAF) rules to inspect and block JSON payloads with excessive n values
  • Set up process monitoring to detect sudden vLLM crashes or restarts
  • Review access logs for patterns of requests with unusual parameter combinations

Monitoring Recommendations

  • Configure memory usage alerts for vLLM processes to detect allocation spikes before crashes
  • Implement request logging that captures the full JSON payload for forensic analysis
  • Set up automated service health checks with alerting for API endpoint availability
  • Monitor asyncio event loop responsiveness metrics if available

How to Mitigate CVE-2026-34756

Immediate Actions Required

  • Upgrade vLLM to version 0.19.0 or later immediately
  • Implement API gateway or WAF rules to limit the n parameter to a reasonable maximum value
  • Enable rate limiting on API endpoints to reduce impact of potential DoS attempts
  • Consider requiring authentication for API access if not already implemented

Patch Information

The vulnerability is fixed in vLLM version 0.19.0. The fix adds proper upper bound validation on the n parameter in both ChatCompletionRequest and CompletionRequest Pydantic models. Organizations should upgrade to this version or later to remediate the vulnerability.

For detailed technical information about the fix, refer to the GitHub commit and pull request.

Workarounds

  • Deploy a reverse proxy or API gateway that validates and limits the n parameter before requests reach vLLM
  • Implement request body inspection at the load balancer level to reject requests with excessive n values
  • Run vLLM instances with memory limits (e.g., using cgroups or container memory limits) to prevent system-wide impact
  • Isolate vLLM deployments in containers with automatic restart policies to minimize downtime from crashes
bash
# Example nginx configuration to limit n parameter
# Add to location block handling vLLM API requests
location /v1/ {
    # Use lua-nginx-module to inspect JSON body
    access_by_lua_block {
        ngx.req.read_body()
        local body = ngx.req.get_body_data()
        if body then
            local cjson = require "cjson"
            local ok, data = pcall(cjson.decode, body)
            if ok and data.n and data.n > 100 then
                ngx.exit(400)
            end
        end
    }
    proxy_pass http://vllm_backend;
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechVllm

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.03%

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

  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34755: vLLM Engine DoS Vulnerability

  • CVE-2026-22773: vLLM Inference Engine DoS Vulnerability

  • CVE-2026-34753: vLLM SSRF Vulnerability

  • CVE-2026-27893: Vllm Vllm RCE 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