A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    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
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2025-48068

CVE-2025-48068: Next.js Information Disclosure Vulnerability

CVE-2025-48068 is an information disclosure vulnerability in Vercel Next.js that exposes source code during development. This article covers the technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-48068 Overview

CVE-2025-48068 is a source code disclosure vulnerability affecting Next.js, the popular React framework for building full-stack web applications. This vulnerability allows limited source code exposure when the development server is running with the App Router enabled. The issue is classified as an Information Disclosure vulnerability that specifically impacts local development environments.

Critical Impact

Developers running npm run dev with App Router enabled may inadvertently expose application source code if they visit a malicious webpage during active development sessions.

Affected Products

  • Vercel Next.js versions 13.0 to before 14.2.30
  • Vercel Next.js versions 15.0.0 to before 15.2.2

Discovery Timeline

  • 2025-05-30 - CVE-2025-48068 published to NVD
  • 2025-09-10 - Last updated in NVD database

Technical Details for CVE-2025-48068

Vulnerability Analysis

This vulnerability represents a source code disclosure weakness (CWE-1385) in the Next.js development server. The issue is particularly noteworthy because it specifically targets the development environment rather than production deployments. When developers are actively running their local development server using npm run dev with the App Router feature enabled, a carefully crafted malicious webpage can exploit the vulnerability to extract portions of the application's source code.

The attack requires user interaction—specifically, the developer must visit a malicious webpage while their development server is actively running. This social engineering requirement, combined with the development-only scope, limits the practical exploitability of this vulnerability. However, source code exposure in development environments can still lead to intellectual property theft or reveal sensitive configuration patterns that could inform attacks against production systems.

Root Cause

The root cause lies in improper handling of requests to the development server when the App Router is enabled. The vulnerability falls under CWE-1385, which addresses the exposure of sensitive information through the improper handling of runtime debugging data in development environments. The Next.js development server failed to adequately restrict access to source code resources, allowing cross-origin requests from malicious webpages to retrieve limited source code content.

Attack Vector

The attack vector requires a network-accessible development server and user interaction. An attacker would need to:

  1. Craft a malicious webpage designed to exploit the vulnerability
  2. Lure a developer to visit the malicious page while running npm run dev
  3. The malicious page makes requests to the local development server
  4. The development server improperly responds with source code fragments

The exploitation mechanism involves cross-origin requests that the development server fails to properly validate or restrict. Since no proof-of-concept code has been publicly disclosed, specific technical details about the exact request patterns are not available. For technical implementation details, refer to the GitHub Security Advisory.

Detection Methods for CVE-2025-48068

Indicators of Compromise

  • Unusual network requests to local development server ports (typically 3000) from external domains
  • Browser console logs showing cross-origin requests to localhost during development sessions
  • Network traffic analysis revealing source code content in HTTP responses to external origins

Detection Strategies

  • Monitor development workstations for unexpected outbound connections while the Next.js dev server is running
  • Implement browser extensions or security policies that alert on cross-origin requests to localhost
  • Review web browser history for suspicious URLs visited during development sessions

Monitoring Recommendations

  • Enable network monitoring on development machines to detect anomalous localhost traffic patterns
  • Configure Content Security Policy headers in development environments where feasible
  • Maintain awareness of phishing attempts targeting development teams with links to potentially malicious sites

How to Mitigate CVE-2025-48068

Immediate Actions Required

  • Upgrade Next.js to version 14.2.30 or later for the 14.x branch
  • Upgrade Next.js to version 15.2.2 or later for the 15.x branch
  • Avoid visiting untrusted websites while the development server is actively running
  • Consider stopping the development server when browsing external sites

Patch Information

Vercel has released patched versions that address this vulnerability:

  • Version 14.2.30 - Fixes the vulnerability for the 14.x release line
  • Version 15.2.2 - Fixes the vulnerability for the 15.x release line

For detailed patch information and upgrade instructions, refer to the Vercel Changelog and the GitHub Security Advisory.

Workarounds

  • Stop the development server when not actively developing
  • Use browser profiles or containers to isolate development browsing from general web browsing
  • Bind the development server to 127.0.0.1 only rather than 0.0.0.0
  • Consider using browser extensions that block cross-origin requests to localhost
bash
# Update Next.js to patched version
npm install [email protected]
# or for Next.js 15.x users
npm install [email protected]

# Verify installed version
npm list next

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

  • SeverityLOW

  • CVSS Score2.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/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-1385
  • Vendor Resources
  • GitHub Security Advisory

  • Vercel Changelog CVE-2025-48068
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
  • English
  • 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