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

CVE-2026-32145: Gleam-Wisp DoS Vulnerability

CVE-2026-32145 is a denial of service vulnerability in gleam-wisp wisp that allows attackers to exhaust server memory through multipart form parsing. This post covers technical details, affected versions, and mitigation.

Published: April 2, 2026

CVE-2026-32145 Overview

CVE-2026-32145 is a Resource Exhaustion vulnerability in the gleam-wisp wisp web framework that enables denial of service attacks via multipart form body parsing. The vulnerability stems from improper enforcement of configured resource limits during HTTP request processing.

The multipart_body function bypasses configured max_body_size and max_files_size limits. When a multipart boundary is not present in a chunk, the parser takes the MoreRequiredForBody path, which appends the chunk to the output but passes the quota unchanged to the recursive call. Only the final chunk containing the boundary is counted via decrement_quota. The same pattern exists in multipart_headers, where MoreRequiredForHeaders recurses without calling decrement_body_quota.

An unauthenticated attacker can exhaust server memory or disk by sending arbitrarily large multipart form submissions in a single HTTP request.

Critical Impact

Unauthenticated attackers can exhaust server memory or disk resources through a single malicious HTTP request containing an arbitrarily large multipart form submission, leading to complete service unavailability.

Affected Products

  • wisp versions from 0.2.0 before 2.2.2

Discovery Timeline

  • 2026-04-02 - CVE CVE-2026-32145 published to NVD
  • 2026-04-02 - Last updated in NVD database

Technical Details for CVE-2026-32145

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue lies in the recursive multipart form parsing logic where quota enforcement is inconsistently applied across different code paths.

When processing multipart HTTP requests, the wisp framework is designed to enforce body size limits through a quota system. However, the implementation contains a flaw in the recursive parsing functions. Specifically, when the multipart boundary is not found within a chunk, the parser follows the MoreRequiredForBody code path. In this path, the chunk data is appended to the accumulated output, but critically, the quota value is passed unchanged to the subsequent recursive call rather than being decremented.

This means that only when the final chunk containing the multipart boundary is processed does the decrement_quota function get called. All intermediate chunks—regardless of their size—are accumulated without any quota accounting, effectively bypassing the intended size restrictions.

Root Cause

The root cause is a logic error in quota decrement handling within the recursive multipart parsing functions. The multipart_body function fails to call decrement_quota when taking the MoreRequiredForBody path, and similarly, multipart_headers fails to call decrement_body_quota when recursing via MoreRequiredForHeaders. This inconsistent quota enforcement allows unbounded data accumulation during the parsing process.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can craft a malicious HTTP POST request with a multipart form body that is structured to avoid including the boundary marker in intermediate chunks. By sending extremely large chunks without boundaries, the attacker forces the parser into the vulnerable recursive path repeatedly, causing unbounded memory allocation on the target server.

The attack can be sustained with a single HTTP connection, making it highly efficient for resource exhaustion. Server memory or disk resources can be consumed until the service becomes unavailable or crashes.

text
     http.MoreRequiredForBody(chunk, parse) -> {
       let parse = fn_with_bad_request_error(parse, invalid_form)
       let reader = BufferedReader(reader, <<>>)
+      use quota <- result.try(decrement_quota(quota, size_read))
       use data <- result.try(append(data, chunk))
       multipart_body(reader, parse, boundary, chunk_size, quota, append, data)
     }

Source: GitHub Commit Change

The patch adds the critical decrement_quota call before appending data and recursing, ensuring that every chunk is properly counted against the configured limits.

Detection Methods for CVE-2026-32145

Indicators of Compromise

  • Abnormally large HTTP POST requests with multipart/form-data content types
  • Rapid memory consumption on servers running wisp-based applications
  • HTTP connections that remain open for extended periods while transmitting large request bodies
  • Server crashes or out-of-memory errors correlated with incoming multipart form submissions

Detection Strategies

  • Monitor HTTP request body sizes at the network perimeter and alert on requests exceeding expected thresholds
  • Implement application-level logging to track multipart form parsing operations and resource consumption
  • Deploy anomaly detection for unusual patterns in HTTP POST request characteristics
  • Review web server access logs for requests with abnormally long processing times

Monitoring Recommendations

  • Configure infrastructure monitoring to alert on rapid memory growth in application processes
  • Set up disk space monitoring with appropriate thresholds for temporary file storage locations
  • Enable request timeout enforcement at load balancer and reverse proxy layers
  • Monitor connection duration metrics for web application servers

How to Mitigate CVE-2026-32145

Immediate Actions Required

  • Upgrade wisp to version 2.2.2 or later immediately
  • Review application logs for evidence of exploitation attempts
  • Implement request body size limits at the reverse proxy or load balancer level as defense-in-depth
  • Consider temporarily disabling multipart form endpoints if upgrade is not immediately possible

Patch Information

The vulnerability is fixed in wisp version 2.2.2. The fix adds proper quota decrement calls in the MoreRequiredForBody and MoreRequiredForHeaders code paths, ensuring that all accumulated data is properly counted against configured limits. The security patch is available via the GitHub commit and documented in the GitHub Security Advisory GHSA-8645-p2v4-73r2.

Workarounds

  • Deploy a reverse proxy (nginx, HAProxy) with strict request body size limits in front of wisp applications
  • Implement rate limiting on endpoints accepting multipart form submissions
  • Configure connection timeouts at the infrastructure level to prevent long-running malicious requests
  • Use web application firewall rules to restrict maximum content-length headers
bash
# Example nginx configuration to limit request body size
# Add to server or location block for wisp application
client_max_body_size 10m;
client_body_timeout 30s;
client_body_buffer_size 128k;

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechWisp

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • GitHub Commit Change

  • GitHub Security Advisory GHSA-8645
  • Related CVEs
  • CVE-2026-28807: Gleam Wisp Path Traversal 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