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

CVE-2026-29046: TinyWeb Header Injection Vulnerability

CVE-2026-29046 is a header injection flaw in TinyWeb web server that allows control characters in HTTP headers, enabling CGI variable manipulation. This article covers technical details, affected versions, and mitigations.

Published: March 13, 2026

CVE-2026-29046 Overview

CVE-2026-29046 is a critical HTTP header injection vulnerability in TinyWeb, a lightweight web server (HTTP, HTTPS) written in Delphi for Win32 systems. Prior to version 2.04, TinyWeb's request header parser fails to properly reject dangerous control characters including CR (Carriage Return), LF (Line Feed), and NUL bytes in header lines and values. Additionally, the parser does not consistently defend against URL-encoded forms of these characters such as %0d, %0a, and %00. This improper input validation (CWE-20) can enable header value confusion across parser boundaries and may create unsafe data within the CGI execution context.

Critical Impact

This vulnerability allows remote attackers to inject arbitrary header values and control characters into CGI environment variables (HTTP_*), potentially enabling HTTP response splitting, cache poisoning, and manipulation of downstream CGI application behavior.

Affected Products

  • TinyWeb prior to version 2.04
  • TinyWeb installations with CGI functionality enabled
  • Windows 32-bit systems running vulnerable TinyWeb versions

Discovery Timeline

  • 2026-03-06 - CVE-2026-29046 published to NVD
  • 2026-03-09 - Last updated in NVD database

Technical Details for CVE-2026-29046

Vulnerability Analysis

The vulnerability exists in TinyWeb's HTTP request header parsing mechanism. When processing incoming HTTP requests, TinyWeb extracts header values and maps them to CGI environment variables prefixed with HTTP_. The parser implementation did not implement strict validation to reject control characters that have special meaning in HTTP protocols and downstream CGI contexts.

The core issue stems from insufficient input sanitization where CR (\r or %0d), LF (\n or %0a), and NUL (\0 or %00) characters are accepted in header values. These characters are significant in HTTP protocol syntax as they define header boundaries. When these characters pass through to CGI environment variables, they can cause header value confusion across different parser boundaries, allowing attackers to manipulate how downstream CGI applications interpret the request context.

Root Cause

The root cause is improper input validation (CWE-20) in the HTTP header parsing logic. TinyWeb's parser failed to implement consistent sanitization across both raw and URL-encoded representations of dangerous control characters. The absence of validation allowed malformed input to propagate through to CGI execution contexts where it could influence application behavior.

Attack Vector

This vulnerability is exploitable remotely over the network without requiring authentication or user interaction. An attacker can craft malicious HTTP requests containing control characters or their URL-encoded equivalents in header values. When TinyWeb processes these requests and passes the header values to CGI applications through environment variables, the injected control characters can:

  1. Split HTTP responses by injecting CRLF sequences
  2. Corrupt CGI environment variable values through embedded NUL bytes
  3. Cause inconsistent parsing behavior between TinyWeb and downstream applications
  4. Potentially enable cache poisoning attacks if caching infrastructure is present

The attack requires only network access to the vulnerable TinyWeb server with CGI functionality enabled. Technical details and the security patch are available in the GitHub Security Advisory.

Detection Methods for CVE-2026-29046

Indicators of Compromise

  • HTTP request logs containing URL-encoded control characters (%0d, %0a, %00) in header values
  • Unusual or malformed HTTP_* environment variable values in CGI application logs
  • Evidence of HTTP response splitting in web server access logs
  • Anomalous cache behavior or cache poisoning indicators in proxy/CDN logs

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing CRLF sequences or their encoded forms in header values
  • Configure intrusion detection systems (IDS) to alert on HTTP requests with %0d, %0a, or %00 patterns in header fields
  • Deploy SentinelOne Singularity platform for real-time behavioral monitoring of web server processes
  • Establish baseline network traffic patterns and alert on anomalous HTTP header structures

Monitoring Recommendations

  • Enable detailed HTTP access logging including full request headers for forensic analysis
  • Monitor CGI process execution for unexpected behavior or output anomalies
  • Implement log aggregation and SIEM correlation to identify exploitation attempts across multiple systems
  • Review server version information to identify vulnerable TinyWeb installations in your environment

How to Mitigate CVE-2026-29046

Immediate Actions Required

  • Upgrade TinyWeb to version 2.04 or later immediately
  • If immediate patching is not possible, consider disabling CGI functionality until the update can be applied
  • Deploy web application firewall rules to filter malicious control characters in incoming requests
  • Audit existing CGI applications for additional input validation as defense-in-depth

Patch Information

The vulnerability has been addressed in TinyWeb version 2.04. The fix implements strict validation to reject control characters including CR, LF, and NUL in both raw and URL-encoded forms within HTTP header parsing. The patch is available through the GitHub commit.

Organizations should review the GitHub Security Advisory (GHSA-r3gf-pg2c-m7mc) for complete technical details and upgrade guidance.

Workarounds

  • Deploy a reverse proxy with strict HTTP header validation in front of TinyWeb to sanitize incoming requests
  • Implement WAF rules to block requests containing %0d, %0a, %00 or raw control characters in header values
  • Disable CGI functionality if not required for business operations
  • Restrict network access to the TinyWeb server to trusted IP ranges only
bash
# Example WAF/ModSecurity rule to block CRLF injection attempts
SecRule REQUEST_HEADERS "@rx (%0d|%0a|%00|\r|\n)" \
    "id:100001,phase:1,deny,status:400,msg:'CRLF Injection Attempt Blocked'"

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechTinyweb

  • SeverityCRITICAL

  • CVSS Score9.2

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L/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
  • AvailabilityLow
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-28497: TinyWeb Auth Bypass Vulnerability

  • CVE-2026-27633: TinyWeb Memory Exhaustion DoS Vulnerability

  • CVE-2026-27630: TinyWeb Slowloris DoS Vulnerability

  • CVE-2026-27613: TinyWeb Auth Bypass 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