A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-1527

CVE-2026-1527: Node.js Undici CRLF Injection Vulnerability

CVE-2026-1527 is a CRLF injection flaw in Node.js Undici that allows attackers to inject HTTP headers and smuggle data to non-HTTP services. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2026-1527 Overview

CVE-2026-1527 is a CRLF (Carriage Return Line Feed) injection vulnerability in the Node.js undici HTTP client library. The flaw exists in the upgrade option of client.request(), which writes user-supplied values directly to the socket without validating header characters. Attackers who control the upgrade input can inject \r\n sequences to add arbitrary HTTP headers or smuggle raw protocol data to backend services such as Redis, Memcached, and Elasticsearch. The vulnerability is classified under CWE-93 (Improper Neutralization of CRLF Sequences).

Critical Impact

An authenticated attacker passing controlled input to the upgrade option can inject HTTP headers and smuggle data to non-HTTP services reachable by the application.

Affected Products

  • Node.js undici HTTP client library
  • Applications that pass user-controlled input to the upgrade option of client.request()
  • Backend services reachable through undici connections (Redis, Memcached, Elasticsearch)

Discovery Timeline

  • 2026-03-12 - CVE-2026-1527 published to the National Vulnerability Database (NVD)
  • 2026-03-20 - Last updated in NVD database

Technical Details for CVE-2026-1527

Vulnerability Analysis

The vulnerability resides in undici's HTTP/1 client dispatcher. When an application passes a value to the upgrade option of client.request(), the library concatenates that value into the raw HTTP request line without sanitizing control characters. The relevant code in lib/dispatcher/client-h1.js appends the upgrade value directly between connection: upgrade\r\n and a trailing \r\n.

Because the value is not validated, an attacker who controls the input can include \r\n sequences to terminate the upgrade header and insert arbitrary headers, a request body, or even an entirely different protocol payload. This results in HTTP header injection and, when the destination socket speaks a line-based protocol, request smuggling against internal services.

Root Cause

The root cause is missing input validation on header field values [CWE-93]. The upgrade parameter is treated as a trusted header value and written verbatim to the socket. Standard header injection defenses require rejecting or escaping CR (\r, 0x0D) and LF (\n, 0x0A) octets in any user-controlled header component.

Attack Vector

Exploitation requires the attacker to influence the upgrade argument passed to undici's client.request(). An attacker supplies a payload such as websocket\r\nX-Injected: attacker\r\n\r\nGET /admin to add headers, prematurely end the HTTP request, and append additional raw bytes interpreted by the downstream service. When undici is pointed at internal Redis, Memcached, or Elasticsearch listeners, the smuggled bytes can execute commands against those services from the application's network position. User interaction is required and the attacker must already have authenticated access to the calling application.

The vulnerable behavior is described in the GitHub Security Advisory GHSA-4992 and the HackerOne Security Report #3487198. No public proof-of-concept exploit is currently listed in Exploit-DB.

Detection Methods for CVE-2026-1527

Indicators of Compromise

  • Outbound HTTP requests from Node.js services containing literal \r\n sequences inside the Upgrade header value
  • Unexpected commands appearing in Redis, Memcached, or Elasticsearch logs originating from application service accounts
  • HTTP responses logged with duplicate or attacker-controlled headers that the application did not intend to send

Detection Strategies

  • Inventory Node.js applications using undici and grep source code for client.request( and upgrade: to locate call sites accepting external input
  • Inspect application logs and egress proxy logs for outbound requests whose Upgrade header contains control characters or unexpected colons
  • Run software composition analysis (SCA) against package-lock.json and yarn.lock to flag vulnerable undici versions referenced by the advisory

Monitoring Recommendations

  • Forward outbound HTTP egress logs and Redis/Memcached/Elasticsearch access logs into a central data lake and alert on protocol anomalies from application IP ranges
  • Monitor process telemetry for Node.js workloads making unexpected connections to internal datastore ports
  • Track dependency manifests in CI/CD to alert when a vulnerable undici version is introduced or remains pinned

How to Mitigate CVE-2026-1527

Immediate Actions Required

  • Upgrade undici to the fixed version identified in GHSA-4992-7rv2-5pvq
  • Audit every call to client.request() and remove or strictly validate any user input flowing into the upgrade option
  • Restrict egress from Node.js services so they cannot reach internal Redis, Memcached, or Elasticsearch instances directly when not required

Patch Information

The maintainers published a patched release through the OpenJS Foundation. Refer to the OpenJS Foundation Security Advisories and GitHub Security Advisory GHSA-4992 for the exact fixed version and changelog entry. Update the undici dependency and rebuild lockfiles across all affected services.

Workarounds

  • Reject any external value containing \r, \n, or \0 before passing it to undici
  • Hardcode the upgrade value (for example, websocket) instead of constructing it from request parameters
  • Place an HTTP egress proxy in front of Node.js services to normalize headers and drop requests with control characters
bash
# Update undici to the patched release
npm install undici@latest

# Verify the resolved version
npm ls undici

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechNodejs

  • SeverityMEDIUM

  • CVSS Score4.6

  • EPSS Probability0.01%

  • 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
  • HackerOne Security Report #3487198
  • Vendor Resources
  • OpenJS Foundation Security Advisories

  • GitHub Security Advisory GHSA-4992
  • Related CVEs
  • CVE-2023-30589: Node.js HTTP Request Smuggling Vulnerability

  • CVE-2022-35256: Node.js HTTP Request Smuggling Flaw

  • CVE-2022-32215: Llhttp HTTP Request Smuggling Vulnerability

  • CVE-2022-32213: Llhttp HTTP Request Smuggling Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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