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
    • 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-2024-1135

CVE-2024-1135: Gunicorn HTTP Request Smuggling Vulnerability

CVE-2024-1135 is an HTTP request smuggling flaw in Gunicorn caused by improper Transfer-Encoding header validation. Attackers can bypass security controls and access restricted endpoints. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: January 28, 2026

CVE-2024-1135 Overview

CVE-2024-1135 is an HTTP Request Smuggling (HRS) vulnerability in Gunicorn, a popular Python WSGI HTTP server. The vulnerability arises from Gunicorn's failure to properly validate Transfer-Encoding headers. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.

Critical Impact

Attackers can exploit this vulnerability to bypass security controls, poison web caches, manipulate user sessions, and expose sensitive data by smuggling malicious HTTP requests through vulnerable Gunicorn servers.

Affected Products

  • Gunicorn (Python WSGI HTTP Server)
  • Systems running Gunicorn behind reverse proxies or load balancers
  • Web applications deployed with affected Gunicorn versions

Discovery Timeline

  • 2024-04-16 - CVE-2024-1135 published to NVD
  • 2024-12-20 - Last updated in NVD database

Technical Details for CVE-2024-1135

Vulnerability Analysis

This vulnerability stems from improper handling of the Transfer-Encoding HTTP header in Gunicorn's request parsing logic. HTTP Request Smuggling occurs when a front-end server (such as a reverse proxy or load balancer) and a back-end server interpret HTTP request boundaries differently. In this case, Gunicorn incorrectly processes requests containing multiple, conflicting Transfer-Encoding headers by treating them as chunked regardless of the final encoding specified.

The core issue lies in how Gunicorn parses the Transfer-Encoding header when multiple values are present. Rather than rejecting ambiguous requests or properly validating the header chain, Gunicorn makes assumptions about the encoding that may differ from how front-end servers interpret the same request. This desynchronization creates an opportunity for attackers to "smuggle" a second request within what the front-end perceives as a single request body.

The vulnerability is classified under CWE-444 (Inconsistent Interpretation of HTTP Requests), which addresses scenarios where HTTP request interpretation differences between components create security gaps.

Root Cause

The root cause is Gunicorn's inconsistent handling of Transfer-Encoding headers. When processing HTTP requests with multiple or malformed Transfer-Encoding headers, Gunicorn defaults to treating the request body as chunked encoded without proper validation. This behavior diverges from RFC 7230 specifications, which require servers to either properly handle or reject ambiguous Transfer-Encoding headers. The discrepancy between how Gunicorn and front-end proxies interpret these headers creates the request smuggling opportunity.

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 HTTP requests to a web application served by Gunicorn behind a reverse proxy. The attack works by constructing requests with conflicting Transfer-Encoding headers that cause the front-end proxy and Gunicorn to disagree on where one request ends and the next begins.

A typical exploitation scenario involves:

  1. The attacker sends a request with multiple or malformed Transfer-Encoding headers
  2. The front-end proxy interprets the request boundaries differently than Gunicorn
  3. A "smuggled" request hidden within the first request's body is processed as a separate request by Gunicorn
  4. This smuggled request can target restricted endpoints, poison caches, or hijack other users' sessions

For detailed technical analysis and proof-of-concept information, refer to the Huntr Bounty Report.

Detection Methods for CVE-2024-1135

Indicators of Compromise

  • Unusual HTTP requests with multiple or malformed Transfer-Encoding headers in access logs
  • Unexpected access to restricted endpoints without proper authentication
  • Cache entries containing unexpected or malicious content
  • Session anomalies where users experience actions they did not perform
  • Discrepancies between front-end proxy logs and Gunicorn application logs

Detection Strategies

  • Implement HTTP request parsing validation at the WAF level to detect and block requests with conflicting Transfer-Encoding headers
  • Monitor application logs for unusual request patterns or access to restricted resources
  • Deploy network intrusion detection signatures to identify HTTP request smuggling attempts
  • Audit web cache contents for unexpected or poisoned entries

Monitoring Recommendations

  • Enable detailed logging on both front-end proxies and Gunicorn instances to identify request interpretation discrepancies
  • Configure alerting for requests containing multiple Transfer-Encoding headers
  • Monitor for unusual patterns in HTTP response timing that may indicate successful smuggling attacks
  • Implement log correlation between front-end proxies and back-end servers to detect desynchronization

How to Mitigate CVE-2024-1135

Immediate Actions Required

  • Update Gunicorn to the latest patched version that addresses the Transfer-Encoding header validation issue
  • Configure front-end proxies to normalize or reject requests with ambiguous Transfer-Encoding headers
  • Review and audit web application access logs for potential exploitation attempts
  • Implement strict HTTP request validation at the WAF or reverse proxy layer

Patch Information

Consult the Debian LTS Security Announcement and the Debian LTS Security Update for distribution-specific patch information. For the latest security fixes, update Gunicorn using your package manager or pip to the most recent stable release.

Workarounds

  • Configure your reverse proxy or load balancer to reject requests containing multiple or malformed Transfer-Encoding headers
  • Implement strict HTTP/1.1 compliance validation at the front-end proxy level
  • Consider upgrading to HTTP/2 end-to-end where possible, as HTTP/2 uses a different framing mechanism not susceptible to traditional request smuggling
  • Deploy a Web Application Firewall (WAF) with rules specifically designed to detect and block HTTP request smuggling attempts
bash
# Example nginx configuration to reject ambiguous Transfer-Encoding headers
# Add to your nginx server block configuration

# Reject requests with multiple Transfer-Encoding headers
if ($http_transfer_encoding ~* ".*,.*") {
    return 400;
}

# Ensure proper proxy header handling
proxy_http_version 1.1;
proxy_set_header Connection "";

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGunicorn

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-444
  • Technical References
  • Huntr Bounty Report

  • Debian LTS Security Announcement

  • Debian LTS Security Update
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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