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

CVE-2026-29057: Vercel Next.js Auth Bypass Vulnerability

CVE-2026-29057 is an authentication bypass flaw in Vercel Next.js that enables request smuggling to internal endpoints. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: March 20, 2026

CVE-2026-29057 Overview

CVE-2026-29057 is an HTTP Request Smuggling vulnerability affecting Next.js, the popular React framework for building full-stack web applications. The vulnerability exists in the rewrite proxy functionality and allows attackers to craft malicious DELETE/OPTIONS requests using Transfer-Encoding: chunked that cause request boundary disagreement between the proxy and backend servers.

When Next.js rewrites proxy traffic to an external backend, a specially crafted request can exploit inconsistencies in how the proxy and backend interpret request boundaries. This enables attackers to smuggle additional requests to unintended backend routes, potentially accessing internal or administrative endpoints that should not be directly reachable.

Critical Impact

Attackers can bypass intended routing restrictions and access internal/admin backend endpoints through request smuggling, potentially compromising application security boundaries.

Affected Products

  • Vercel Next.js versions 9.5.0 through 15.5.12
  • Vercel Next.js versions 16.0.0 through 16.1.6
  • Self-hosted Next.js deployments using rewrites (Vercel-hosted applications using CDN-level rewrites are not affected)

Discovery Timeline

  • 2026-03-18 - CVE-2026-29057 published to NVD
  • 2026-03-18 - Last updated in NVD database

Technical Details for CVE-2026-29057

Vulnerability Analysis

This vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests) arises from how Next.js handles HTTP headers when proxying rewritten requests. The issue originates in an upstream library (http-proxy) vendored by Next.js, which improperly handles the relationship between Content-Length and Transfer-Encoding headers.

When processing DELETE or OPTIONS requests with Transfer-Encoding: chunked, the proxy would add content-length: 0 while removing transfer-encoding in certain code paths. This creates a scenario where the Next.js proxy and the backend server interpret the same HTTP request differently, leading to request boundary desynchronization.

An attacker can exploit this desynchronization to "smuggle" a second, malicious request hidden within what appears to be a single legitimate request. The backend server may interpret the smuggled content as a separate request, potentially routing it to internal endpoints that were never intended to be exposed through the rewrite configuration.

Root Cause

The vulnerability originated in the vendored http-proxy library. Specifically, the proxy would modify request headers in a way that violated HTTP specification requirements around Content-Length and Transfer-Encoding header handling. The fix ensures that content-length: 0 is only added when bothcontent-length and transfer-encoding headers are absent, and prevents the removal of transfer-encoding in the problematic code path.

Attack Vector

The attack requires network access to a Next.js application that uses the rewrites feature to proxy traffic to an external backend. The attacker sends a specially crafted DELETE or OPTIONS HTTP request with Transfer-Encoding: chunked header. Due to the header handling inconsistency, a second malicious request can be embedded within the first, allowing access to backend routes that bypass the configured rewrite restrictions.

text
+diff --git a/lib/http-proxy/common.js b/lib/http-proxy/common.js
+index 6513e81d80d5250ea249ea833f819ece67897c7e..09143dd1fe4e67885f40ea916a6ea1ef3e3afa19 100644
+--- a/lib/http-proxy/common.js
++++ b/lib/http-proxy/common.js
+@@ -1,9 +1,9 @@
+ var common   = exports,
+     url      = require('url'),
+-    extend   = require('util')._extend,
+     required = require('requires-port');
+ 
+ var upgradeHeader = /(^|,)\s*upgrade\s*($|,)/i,
++    hopByHopTransferEncodingHeader = /(^|,)\s*transfer-encoding\s*($|,)/i,
+     isSSL = /^https|wss/;
+ 
+/**
+@@ -40,10 +40,10 @@ common.setupOutgoing = function(outgoing, options, req, forward) {
+   );
+ 
+   outgoing.method = options.method || req.method;
+-  outgoing.headers = extend({}, req.headers);
++  outgoing.headers = Object.assign({}, req.headers);
+ 
+   if (options.headers){
+-    extend(outgoing.headers, options.headers);
++    Object.assign(outgoing.headers, options.headers);
+   }
+ 
+   if (options.auth) {
+@@ -61,13 +61,22 @@ common.setupOutgoing = function(outgoing, options, req, forward) {

Source: GitHub Commit dc98c04f376c6a1df76ec3e0a2d07edf4abdabd6

Detection Methods for CVE-2026-29057

Indicators of Compromise

  • Unusual DELETE or OPTIONS requests with Transfer-Encoding: chunked targeting rewritten routes
  • Backend logs showing requests to internal/admin endpoints that should not be accessible externally
  • Requests containing multiple HTTP request patterns within a single connection
  • Unexpected authentication bypass events on backend administrative endpoints

Detection Strategies

  • Implement HTTP request logging at both the proxy and backend layers to detect boundary desynchronization
  • Monitor for DELETE/OPTIONS requests with Transfer-Encoding: chunked to rewritten routes
  • Configure Web Application Firewall (WAF) rules to detect and alert on potential request smuggling patterns
  • Compare request counts between proxy and backend to identify smuggled requests

Monitoring Recommendations

  • Enable detailed HTTP access logging on Next.js applications using rewrites
  • Set up alerts for unexpected traffic to internal backend endpoints
  • Monitor for anomalies in request method distribution, particularly DELETE and OPTIONS requests
  • Review backend server logs for requests that bypass expected routing patterns

How to Mitigate CVE-2026-29057

Immediate Actions Required

  • Upgrade Next.js to version 15.5.13 or 16.1.7 immediately
  • Audit Next.js applications to identify those using the rewrites feature with external backends
  • Review backend access logs for signs of previous exploitation attempts
  • Implement edge/proxy-level blocking for chunked DELETE/OPTIONS requests on rewritten routes as an interim measure

Patch Information

Vercel has released security patches in Next.js versions 15.5.13 and 16.1.7. The fix updates the vendored http-proxy dependency behavior to ensure proper handling of Content-Length and Transfer-Encoding headers. For detailed patch information, refer to the GitHub Security Advisory GHSA-ggv3-7p47-pfv8 and the specific patch commit.

Workarounds

  • Block chunked DELETE and OPTIONS requests on rewritten routes at the edge or proxy level
  • Enforce authentication and authorization on all backend routes, including internal/admin endpoints
  • Consider migrating to a CDN-based rewrite solution (such as Vercel's platform) where rewrites are handled at the CDN level
  • Implement strict input validation for HTTP methods and headers at the application boundary
bash
# Example nginx configuration to block chunked DELETE/OPTIONS on rewrite paths
location /api/rewrite/ {
    # Block DELETE and OPTIONS requests with Transfer-Encoding: chunked
    if ($request_method ~* "^(DELETE|OPTIONS)$") {
        set $block_chunked "method";
    }
    if ($http_transfer_encoding ~* "chunked") {
        set $block_chunked "${block_chunked}_chunked";
    }
    if ($block_chunked = "method_chunked") {
        return 403;
    }
    
    # Normal proxy pass configuration
    proxy_pass http://backend;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechNext.js

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-444
  • Technical References
  • GitHub Release v15.5.13

  • GitHub Release v16.1.7
  • Vendor Resources
  • GitHub Commit Record

  • GitHub Security Advisory GHSA-ggv3-7p47-pfv8
  • Related CVEs
  • CVE-2026-27977: Vercel Next.js Auth Bypass Vulnerability

  • CVE-2024-51479: Vercel Next.js Auth Bypass Vulnerability

  • CVE-2026-27978: Vercel Next.js CSRF Vulnerability

  • CVE-2026-27979: Vercel Next.js 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