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

CVE-2026-1527: HTTP Header Injection Vulnerability

CVE-2026-1527 is an HTTP header injection flaw that allows attackers to inject CRLF sequences into upgrade headers, enabling header manipulation and request smuggling. This article covers technical details, impact, and mitigation.

Published: March 13, 2026

CVE-2026-1527 Overview

CVE-2026-1527 is a CRLF Injection vulnerability affecting the Undici HTTP client library for Node.js. When an application passes user-controlled input to the upgrade option of client.request(), an attacker can inject CRLF sequences (\r\n) to manipulate HTTP headers and potentially smuggle raw data to non-HTTP services such as Redis, Memcached, and Elasticsearch.

The vulnerability exists because Undici writes the upgrade value directly to the socket without validating for invalid header characters. This allows attackers to terminate HTTP requests prematurely and inject arbitrary content into the data stream.

Critical Impact

Attackers can inject arbitrary HTTP headers and smuggle raw data to backend services, potentially leading to cache poisoning, session hijacking, or unauthorized command execution on non-HTTP services.

Affected Products

  • Undici HTTP client for Node.js (vulnerable versions)
  • Node.js applications using client.request() with user-controlled upgrade options

Discovery Timeline

  • 2026-03-12 - CVE CVE-2026-1527 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-1527

Vulnerability Analysis

This CRLF Injection vulnerability (CWE-93) resides in the Undici HTTP client's handling of the upgrade option within client.request(). The flaw occurs in lib/dispatcher/client-h1.js at line 1121, where the library constructs HTTP upgrade headers without sanitizing user-supplied input.

When processing an upgrade request, the vulnerable code directly interpolates user input into the HTTP header string without validating or escaping CRLF characters. This allows an attacker to break out of the intended header context and inject additional headers or terminate the HTTP request entirely.

The network-accessible nature of this vulnerability means attackers can exploit it remotely, though exploitation requires user interaction and low-level privileges. The attack can compromise both confidentiality and integrity of data, though availability is not directly impacted.

Root Cause

The root cause is improper input validation in the Undici HTTP client. Specifically, the upgrade option value is concatenated directly into the HTTP header string without any sanitization for CRLF sequences or other invalid header characters. The vulnerable code pattern is:

javascript
// lib/dispatcher/client-h1.js:1121
if (upgrade) {
  header += `connection: upgrade\r\nupgrade: ${upgrade}\r\n`
}

This allows an attacker-controlled upgrade value containing \r\n to inject additional headers or terminate the HTTP portion of the request.

Attack Vector

This is a network-based attack vector requiring low privileges and user interaction. An attacker can exploit this vulnerability by supplying a malicious upgrade option value containing CRLF sequences. The attack flow involves:

  1. Injecting CRLF sequences (\r\n) into the upgrade parameter
  2. Breaking out of the HTTP header context to inject arbitrary headers
  3. Terminating the HTTP request prematurely with double CRLF (\r\n\r\n)
  4. Smuggling raw data payloads to backend non-HTTP services

This enables HTTP Request Smuggling attacks against backend services like Redis, Memcached, or Elasticsearch that may be accessible through the same connection pathway.

Detection Methods for CVE-2026-1527

Indicators of Compromise

  • Unusual HTTP upgrade requests containing encoded or raw CRLF sequences (%0d%0a or \r\n)
  • Unexpected commands or data appearing in logs from backend services like Redis or Memcached
  • HTTP requests with malformed or duplicate headers indicating injection attempts

Detection Strategies

  • Deploy web application firewalls (WAF) with rules to detect CRLF injection patterns in HTTP headers
  • Implement input validation logging to identify requests containing \r\n, %0d%0a, or similar encoded sequences
  • Monitor application logs for unusual upgrade header values or malformed HTTP requests
  • Use SentinelOne Singularity to detect anomalous network traffic patterns indicative of HTTP smuggling attempts

Monitoring Recommendations

  • Enable detailed HTTP request logging on applications using Undici to capture upgrade header values
  • Set up alerts for connections to backend services (Redis, Memcached, Elasticsearch) that follow unusual HTTP patterns
  • Monitor for application crashes or unexpected behavior that could indicate exploitation attempts

How to Mitigate CVE-2026-1527

Immediate Actions Required

  • Review all code paths where user input is passed to client.request() upgrade options
  • Implement strict input validation to reject any upgrade values containing CRLF characters
  • Apply the vendor security patch as soon as it becomes available
  • Consider restricting access to backend services to limit the impact of potential HTTP smuggling

Patch Information

Security patches and detailed remediation guidance are available through the official security advisories:

  • GitHub Security Advisory GHSA-4992 - Official Undici security advisory with patch information
  • OpenJSF Security Advisories - OpenJS Foundation security advisory listing
  • HackerOne Report #3487198 - Original vulnerability report

Update Undici to the latest patched version as specified in the security advisories.

Workarounds

  • Sanitize all user input before passing it to client.request() upgrade options by stripping or rejecting CRLF characters
  • Implement application-level input validation that explicitly blocks \r, \n, %0d, and %0a sequences
  • Use a reverse proxy or WAF to filter malicious upgrade headers before they reach the application
  • Isolate backend non-HTTP services from the network path accessible by the HTTP client
bash
# Example input validation for Node.js applications
# Add to request handling code before calling client.request()
# Reject any upgrade value containing CRLF characters
if (userInput.match(/[\r\n]/)) {
  throw new Error('Invalid characters in upgrade option');
}

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechUndici

  • SeverityMEDIUM

  • CVSS Score4.6

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-93
  • Technical References
  • OpenJSF Security Advisories

  • GitHub Security Advisory GHSA-4992

  • HackerOne Report #3487198
  • Related CVEs
  • CVE-2026-2581: Undici Deduplication DoS Vulnerability

  • CVE-2026-2229: Undici WebSocket Client DoS Vulnerability

  • CVE-2026-1528: undici WebSocket DoS Vulnerability

  • CVE-2026-1525: Undici HTTP Header DOS 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