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

CVE-2026-31842: Tinyproxy HTTP Parsing DoS Vulnerability

CVE-2026-31842 is an HTTP request parsing desynchronization flaw in Tinyproxy through 1.11.3 that enables denial of service attacks. This article covers the technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-31842 Overview

Tinyproxy through version 1.11.3 contains an HTTP request parsing desynchronization vulnerability due to improper handling of the Transfer-Encoding header. The vulnerability stems from a case-sensitive comparison in the is_chunked_transfer() function within src/reqs.c, which uses strcmp() to compare the header value against "chunked". According to RFC 7230, transfer-coding names are case-insensitive, meaning values like "Chunked", "CHUNKED", or any mixed-case variant should be treated identically to "chunked".

An unauthenticated remote attacker can exploit this flaw by sending a request with a non-lowercase Transfer-Encoding header (e.g., Transfer-Encoding: Chunked). This causes Tinyproxy to misinterpret the request as having no body, leading to HTTP request smuggling conditions and potential denial of service.

Critical Impact

This vulnerability enables application-level denial of service through backend worker exhaustion and potential security control bypass in deployments using Tinyproxy for request-body inspection or filtering.

Affected Products

  • Tinyproxy through version 1.11.3
  • Deployments using Tinyproxy as a reverse proxy with RFC-compliant backends (e.g., Node.js, Nginx)
  • Environments utilizing Tinyproxy for request-body inspection or security enforcement

Discovery Timeline

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

Technical Details for CVE-2026-31842

Vulnerability Analysis

This vulnerability is classified as CWE-444 (Inconsistent Interpretation of HTTP Requests, or "HTTP Request Smuggling"). The core issue lies in the is_chunked_transfer() function's use of case-sensitive string comparison when parsing the Transfer-Encoding header.

When Tinyproxy receives a request with Transfer-Encoding: Chunked (capital C), the strcmp() function returns a non-zero value because "Chunked" does not exactly match "chunked". As a result, Tinyproxy incorrectly determines that the request does not use chunked transfer encoding. This causes the proxy to set content_length.client to -1, skip the pull_client_data_chunked() function entirely, forward request headers upstream, and transition into relay_connection() raw TCP forwarding mode while unread body data remains buffered.

RFC-compliant backend servers such as Node.js and Nginx correctly interpret the mixed-case Transfer-Encoding header and expect chunked body data. This creates a desynchronization between the proxy and backend, where the backend continues waiting for chunked body data that Tinyproxy has already skipped processing.

Root Cause

The root cause is the use of strcmp() for case-sensitive string comparison in the is_chunked_transfer() function located in src/reqs.c. This violates RFC 7230 Section 4, which explicitly states that transfer-coding names are case-insensitive. The function should use a case-insensitive comparison function such as strcasecmp() to properly handle all valid representations of "chunked" transfer encoding.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP requests to Tinyproxy with a mixed-case Transfer-Encoding header value.

The attack flow proceeds as follows: The attacker sends an HTTP request with Transfer-Encoding: Chunked (or any case variation other than lowercase) along with a chunked body. Tinyproxy's case-sensitive comparison fails to recognize the chunked encoding, treating the request as having no body. The proxy forwards only the headers to the backend while leaving body data buffered. RFC-compliant backends interpret the header correctly and wait indefinitely for the chunked body data that will never arrive, exhausting worker connections.

In security-sensitive deployments where Tinyproxy performs request-body inspection or filtering, the unprocessed body data may be forwarded without proper examination, potentially bypassing security controls.

Detection Methods for CVE-2026-31842

Indicators of Compromise

  • HTTP requests containing Transfer-Encoding headers with non-lowercase "chunked" values (e.g., "Chunked", "CHUNKED", "ChUnKeD")
  • Backend server logs showing connections stuck in waiting state for chunked body data
  • Increased backend worker utilization without corresponding completed requests
  • Proxy access logs showing requests with Transfer-Encoding headers that appear to complete without body processing

Detection Strategies

  • Monitor HTTP traffic at the proxy layer for Transfer-Encoding headers using case variations of "chunked"
  • Implement log correlation between Tinyproxy access logs and backend server logs to identify request desynchronization
  • Deploy network-based detection rules to flag HTTP requests with mixed-case Transfer-Encoding values targeting Tinyproxy instances
  • Monitor backend connection pools for abnormal growth in idle or waiting connections

Monitoring Recommendations

  • Configure alerting on backend worker pool exhaustion or connection timeouts
  • Implement HTTP header inspection in WAF or IDS rules to detect exploitation attempts
  • Monitor Tinyproxy process memory usage for signs of buffered data accumulation
  • Track ratio of proxy-forwarded requests to backend-completed requests for anomaly detection

How to Mitigate CVE-2026-31842

Immediate Actions Required

  • Identify all Tinyproxy instances running version 1.11.3 or earlier in your environment
  • Review network architecture to understand exposure of Tinyproxy instances to untrusted traffic
  • Implement WAF rules to normalize or reject requests with non-lowercase Transfer-Encoding header values
  • Consider deploying alternative proxy solutions for critical security enforcement functions until patched

Patch Information

As of the publication date, users should monitor the Tinyproxy GitHub repository for security updates. The fix should replace the strcmp() call in the is_chunked_transfer() function with a case-insensitive comparison function like strcasecmp(). Track GitHub Issue #604 for patch status and updates.

Workarounds

  • Deploy a WAF or reverse proxy in front of Tinyproxy that normalizes Transfer-Encoding headers to lowercase before forwarding
  • Configure network-level filtering to reject HTTP requests containing non-standard Transfer-Encoding header casing
  • Limit Tinyproxy exposure by restricting access to trusted networks only until a patch is available
  • For security-sensitive deployments, temporarily migrate request-body inspection functions to alternative solutions
bash
# Example: Nginx configuration to normalize Transfer-Encoding header
# Place in front of Tinyproxy to mitigate the vulnerability

map $http_transfer_encoding $normalized_te {
    ~*^chunked$ "chunked";
    default $http_transfer_encoding;
}

server {
    listen 8888;
    
    location / {
        proxy_pass http://tinyproxy_backend;
        proxy_set_header Transfer-Encoding $normalized_te;
    }
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechTinyproxy

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.05%

  • 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-444
  • Technical References
  • IETF RFC 7230 Document

  • GitHub Tinyproxy Repository

  • GitHub Tinyproxy Issue #604
  • Related CVEs
  • CVE-2026-3945: Tinyproxy Integer Overflow DoS Vulnerability

  • CVE-2023-49606: Tinyproxy Use-After-Free 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