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-2024-46982

CVE-2024-46982: Next.js Cache Poisoning Vulnerability

CVE-2024-46982 is a cache poisoning flaw in Vercel Next.js that allows attackers to manipulate server-side rendered route caching. This article covers the technical details, affected versions, and mitigation steps.

Updated: January 22, 2026

CVE-2024-46982 Overview

CVE-2024-46982 is a cache poisoning vulnerability in Next.js, a popular React framework for building full-stack web applications. By sending a crafted HTTP request, an attacker can poison the cache of a non-dynamic server-side rendered route in the pages router. This vulnerability does not affect the app router.

When the crafted request is sent, it coerces Next.js to cache a route that is meant to not be cached and sends a Cache-Control: s-maxage=1, stale-while-revalidate header, which some upstream CDNs may cache as well. This can lead to denial of service conditions where users receive stale or incorrect content.

Critical Impact

Attackers can force Next.js to cache non-dynamic server-side rendered pages that should not be cached, potentially causing widespread service disruption through CDN cache poisoning.

Affected Products

  • Vercel Next.js versions 13.5.1 through 13.5.6
  • Vercel Next.js versions 14.0.0 through 14.2.9
  • Applications using the pages router with non-dynamic server-side rendered routes

Discovery Timeline

  • 2024-09-17 - CVE-2024-46982 published to NVD
  • 2025-09-10 - Last updated in NVD database

Technical Details for CVE-2024-46982

Vulnerability Analysis

This cache poisoning vulnerability exists in how Next.js handles the revalidation metadata for server-side rendered pages in the pages router. The issue stems from improper authorization handling (CWE-639: Authorization Bypass Through User-Controlled Key) where the caching behavior can be manipulated through specially crafted HTTP requests.

To be potentially affected, all of the following conditions must apply:

  1. Next.js version between 13.5.1 and 14.2.9
  2. Using the pages router (not the app router)
  3. Using non-dynamic server-side rendered routes (e.g., pages/dashboard.tsx not pages/blog/[slug].tsx)

The vulnerability allows an attacker to bypass the intended caching configuration, forcing the server to emit cache headers that indicate the response is cacheable when it should not be.

Root Cause

The root cause lies in the fallback revalidate value handling in packages/next/src/server/base-server.ts. When the revalidate value was undefined, the code defaulted to a minimum revalidate value of 1 second instead of properly respecting the absence of caching configuration. This default behavior could be triggered by crafted requests, causing routes intended to be uncached to receive caching headers.

Additionally, the packages/next/src/server/render.tsx file did not explicitly set metadata.revalidate = 0 after processing server-side props, leaving the caching behavior vulnerable to manipulation.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can send crafted HTTP requests to targeted Next.js applications to trigger the cache poisoning behavior. Once poisoned, upstream CDNs may cache the malicious response, amplifying the impact across all users accessing the affected route.

The attack targets the pages router's server-side rendering pipeline, exploiting the fallback caching logic to force inappropriate Cache-Control headers to be sent with responses.

typescript
// Security patch in packages/next/src/server/base-server.ts
// Source: https://github.com/vercel/next.js/commit/7ed7f125e07ef0517a331009ed7e32691ba403d3
 
         return {
           ...result,
-          revalidate:
-            result.revalidate !== undefined
-              ? result.revalidate
-              : /* default to minimum revalidate (this should be an invariant) */ 1,
+          revalidate: result.revalidate,
         }
       },
       {
text
// Security patch in packages/next/src/server/render.tsx
// Source: https://github.com/vercel/next.js/commit/7ed7f125e07ef0517a331009ed7e32691ba403d3
           })
       )
       canAccessRes = false
+      metadata.revalidate = 0
     } catch (serverSidePropsError: any) {
       // remove not found error code to prevent triggering legacy
       // 404 rendering

Detection Methods for CVE-2024-46982

Indicators of Compromise

  • Unexpected Cache-Control: s-maxage=1, stale-while-revalidate headers on server-side rendered pages that should not be cached
  • CDN cache hit ratios suddenly increasing for pages using getServerSideProps
  • Reports of users receiving stale or incorrect content on dynamic pages
  • Unusual HTTP request patterns targeting non-dynamic SSR routes

Detection Strategies

  • Monitor HTTP response headers for unexpected Cache-Control directives on pages that use getServerSideProps
  • Implement CDN logging to detect cache entries for routes that should bypass caching
  • Set up alerts for anomalous cache behavior patterns in your CDN analytics
  • Review web server access logs for crafted requests attempting to manipulate caching behavior

Monitoring Recommendations

  • Enable verbose logging on your CDN to track cache hit/miss ratios per route
  • Implement real-time monitoring for Cache-Control header anomalies in your Next.js application
  • Set up synthetic monitoring to periodically verify that uncacheable routes are returning expected no-store or private cache directives
  • Monitor for sudden changes in response times that could indicate cache poisoning affecting user experience

How to Mitigate CVE-2024-46982

Immediate Actions Required

  • Upgrade Next.js to version 13.5.7, 14.2.10, or later immediately
  • Audit your application for pages using the pages router with non-dynamic server-side rendered routes
  • Review CDN cache configurations and consider purging caches for affected routes
  • Verify that your application's caching behavior is working as expected after upgrading

Patch Information

Vercel has released security patches addressing this vulnerability:

  • Next.js v13.5.7 - Patched version for 13.x branch
  • Next.js v14.2.10 - Patched version for 14.x branch

The patches remove the fallback revalidate value logic and explicitly set revalidate = 0 for server-side props to prevent cache poisoning. The fix is available in the following commits:

  • Commit 7ed7f12
  • Commit bd164d5

For full details, see the GitHub Security Advisory GHSA-gp8f-8m3g-qvj9.

Workarounds

  • There are no official or recommended workarounds for this vulnerability; patching to a safe version is the only recommended remediation
  • As a temporary measure, consider adding explicit Cache-Control: no-store headers at the CDN or reverse proxy level for affected routes
  • If upgrading is not immediately possible, consider temporarily disabling CDN caching for pages router SSR routes
bash
# Upgrade Next.js to patched version
npm install next@14.2.10

# Or for yarn users
yarn add next@14.2.10

# Verify the installed version
npx next --version

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechNext.js

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability49.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-639
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-48068: Next.js Information Disclosure Vulnerability

  • CVE-2025-30218: Vercel Next.js Information Disclosure Flaw

  • CVE-2026-27977: Vercel Next.js Auth Bypass Vulnerability

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