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-2026-34441

CVE-2026-34441: Yhirose Cpp-httplib CSRF Vulnerability

CVE-2026-34441 is a CSRF flaw in Yhirose Cpp-httplib that enables HTTP Request Smuggling attacks on keep-alive connections. This article covers the technical details, affected versions, impact, and mitigation.

Published: April 2, 2026

CVE-2026-34441 Overview

CVE-2026-34441 is an HTTP Request Smuggling vulnerability affecting cpp-httplib, a C++11 single-file header-only cross-platform HTTP/HTTPS library. Prior to version 0.40.0, the library's static file handler serves GET responses without properly consuming the request body. On HTTP/1.1 keep-alive connections, unread body bytes remain on the TCP stream and are interpreted as the start of a new HTTP request, allowing attackers to embed arbitrary HTTP requests inside the body of a GET request.

Critical Impact

Attackers can smuggle arbitrary HTTP requests through the server, potentially bypassing security controls, poisoning caches, or performing unauthorized actions on behalf of other users.

Affected Products

  • yhirose cpp-httplib versions prior to 0.40.0

Discovery Timeline

  • 2026-03-31 - CVE CVE-2026-34441 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34441

Vulnerability Analysis

This HTTP Request Smuggling vulnerability (CWE-444) stems from improper handling of HTTP request bodies in the cpp-httplib static file handler. When the server processes GET requests for static files, it responds to the client without fully consuming any body content that may have been included with the request. In HTTP/1.1 connections using keep-alive, this creates a dangerous condition where leftover bytes from the unread request body remain in the TCP stream buffer.

The server then incorrectly interprets these residual bytes as the beginning of a new, separate HTTP request. This desynchronization between what the client intended and what the server processes enables request smuggling attacks where an attacker crafts a malicious request with a body containing a complete, arbitrary HTTP request that the server will execute as if it were legitimate.

Root Cause

The root cause lies in the static file handler's failure to drain the request body before sending its response. According to HTTP/1.1 specifications, servers must either consume the entire request body or close the connection. The vulnerable implementation violates this principle by leaving body data in the stream, creating ambiguity in request boundaries on persistent connections.

Attack Vector

The attack leverages network-accessible HTTP endpoints served by cpp-httplib. An attacker sends a specially crafted GET request to a static file endpoint with a body containing an embedded HTTP request. Since the static file handler ignores the body content, it sends its response while leaving the smuggled request data in the TCP buffer. The server then processes this leftover data as a new request, executing whatever operation the attacker embedded.

This attack requires no authentication or user interaction and can be executed remotely over the network. The impact includes potential cache poisoning, bypassing front-end security controls, hijacking user requests, and executing unauthorized server-side operations.

Detection Methods for CVE-2026-34441

Indicators of Compromise

  • Unusual HTTP request patterns where GET requests to static files include large or unexpected request bodies
  • Log entries showing multiple rapid sequential requests from the same connection with mismatched timing patterns
  • Evidence of requests being processed that don't match client-side logs or expected traffic patterns

Detection Strategies

  • Monitor HTTP traffic for GET requests to static file endpoints that include Content-Length headers or request bodies
  • Implement deep packet inspection to identify potential request smuggling patterns, specifically requests containing embedded HTTP request syntax in body content
  • Analyze web server logs for anomalous request sequences that could indicate desynchronization attacks

Monitoring Recommendations

  • Enable verbose HTTP logging to capture full request headers and body sizes for static file requests
  • Deploy web application firewalls (WAF) with HTTP desync detection capabilities
  • Implement connection-level monitoring to track request/response pairs and identify boundary inconsistencies

How to Mitigate CVE-2026-34441

Immediate Actions Required

  • Upgrade cpp-httplib to version 0.40.0 or later immediately
  • If immediate upgrade is not possible, disable HTTP/1.1 keep-alive connections as a temporary measure
  • Review application logs for any signs of previous exploitation attempts
  • Assess any front-end proxies or load balancers for additional request smuggling protections

Patch Information

The vulnerability has been patched in cpp-httplib version 0.40.0. The fix ensures that request bodies are properly consumed before responses are sent on keep-alive connections, preventing leftover data from being misinterpreted as new requests. The patch is available through the GitHub Release v0.40.0. For complete details on the vulnerability and fix, refer to the GitHub Security Advisory GHSA-jv63-rm9j-6jwc.

Workarounds

  • Disable HTTP/1.1 keep-alive connections by closing connections after each request until the patch can be applied
  • Place a reverse proxy in front of cpp-httplib that normalizes requests and properly handles request bodies
  • Configure front-end load balancers to reject GET requests that include unexpected request bodies to static file endpoints

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechCpp Htttplib

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-444
  • Technical References
  • GitHub Release v0.40.0
  • Vendor Resources
  • GitHub Security Advisory GHSA-jv63-rm9j-6jwc
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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