Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-67647

CVE-2025-67647: Svelte Adapter-node DoS Vulnerability

CVE-2025-67647 is a denial of service flaw in SvelteKit adapter-node affecting apps with prerendered routes. Attackers can exploit this to cause service disruption. This article covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2025-67647 Overview

CVE-2025-67647 is a Server-Side Request Forgery (SSRF) and Denial of Service (DoS) vulnerability affecting SvelteKit, a popular framework for rapidly developing robust, performant web applications using Svelte. The vulnerability exists in versions prior to 2.49.5 and can be exploited under specific application configurations involving prerendered routes and the adapter-node deployment adapter.

The vulnerability manifests in two distinct attack scenarios depending on the SvelteKit version and configuration. From versions 2.44.0 through 2.49.4, applications with at least one prerendered route (configured via export const prerender = true) are vulnerable to DoS attacks. From versions 2.19.0 through 2.49.4, the vulnerability scope expands to include SSRF when applications use adapter-node without a configured ORIGIN environment variable and lack a reverse proxy implementing Host header validation.

Critical Impact

Attackers can exploit improperly validated headers to trigger server-side request forgery attacks or cause denial of service conditions on SvelteKit applications with prerendered routes.

Affected Products

  • SvelteKit versions 2.44.0 through 2.49.4 (DoS via prerendered routes)
  • SvelteKit versions 2.19.0 through 2.49.4 (SSRF/DoS with adapter-node configuration)
  • Svelte adapter-node (when used without ORIGIN environment variable)

Discovery Timeline

  • 2026-01-15 - CVE CVE-2025-67647 published to NVD
  • 2026-01-21 - Last updated in NVD database

Technical Details for CVE-2025-67647

Vulnerability Analysis

This vulnerability stems from improper handling and validation of HTTP headers in SvelteKit's server-side request handling, specifically within the adapter-node handler and the core respond module. The root cause relates to CWE-918 (Server-Side Request Forgery) and CWE-248 (Uncaught Exception), where malicious header values can manipulate the origin determination logic or cause unhandled exceptions leading to service disruption.

The attack is network-accessible and requires no authentication or user interaction, making it particularly concerning for publicly exposed SvelteKit applications. The vulnerability can lead to high confidentiality and availability impacts, with potential for attackers to access internal resources through SSRF or render the application unavailable through DoS.

Root Cause

The vulnerability originates from insufficient validation of header values used to construct the request origin. The get_origin() function in the adapter-node handler did not properly normalize and validate protocol, host, and port headers before constructing the origin URL. When multiple header values were provided where only one was expected, or when header values contained malicious payloads, the application could be manipulated to make requests to unintended destinations or crash due to unhandled exceptions.

Additionally, the respond module failed to properly compare decoded URL pathnames when serving prerendered resources, allowing attackers to craft requests that triggered unexpected behavior in the prerendering logic.

Attack Vector

The attack is conducted over the network by sending specially crafted HTTP requests with manipulated headers. Attackers can target applications that:

  1. Have at least one prerendered route configured
  2. Use adapter-node without setting the ORIGIN environment variable
  3. Are not protected by a reverse proxy that validates Host headers

The security patches demonstrate the fix approach. In the adapter-node handler, a new normalise_header() function was introduced:

javascript
/**
 * @param {string} name
 * @param {string | string[] | undefined} value
 * @returns {string | undefined}
 */
function normalise_header(name, value) {
	if (!name) return undefined;
	if (Array.isArray(value)) {
		if (value.length === 0) return undefined;
		if (value.length === 1) return value[0];
		throw new Error(
			`Multiple values provided for ${name} header where only one expected: ${value}`
		);
	}
	return value;
}

/**
 * @param {import('http').IncomingHttpHeaders} headers
 * @returns {string}
 */
function get_origin(headers) {
	const protocol = decodeURIComponent(normalise_header(protocol_header, headers[protocol_header]) || 'https');

Source: GitHub Commit Update

The respond module was also patched to properly decode URL pathnames before comparison:

javascript
	// try to serve the rerouted prerendered resource if it exists
	if (
		// the resolved path has been decoded so it should be compared to the decoded url pathname
		resolved_path !== decode_pathname(url.pathname) &&
		!state.prerendering?.fallback &&
		has_prerendered_path(manifest, resolved_path)
	) {

Source: GitHub Commit Update

Detection Methods for CVE-2025-67647

Indicators of Compromise

  • Unusual HTTP requests with multiple values for protocol, host, or port headers
  • Server logs showing requests to internal network resources or unexpected destinations
  • Application crashes or unhandled exceptions in the SvelteKit handler modules
  • Requests targeting prerendered routes with malformed or encoded URL paths

Detection Strategies

  • Monitor HTTP access logs for requests containing suspicious header patterns, particularly multiple values for X-Forwarded-Proto, X-Forwarded-Host, or similar headers
  • Implement Web Application Firewall (WAF) rules to detect and block requests with malformed or duplicate forwarding headers
  • Review application error logs for uncaught exceptions originating from packages/adapter-node/src/handler.js or packages/kit/src/runtime/server/respond.js
  • Configure intrusion detection systems to alert on outbound connections from the application server to unexpected internal resources

Monitoring Recommendations

  • Enable verbose logging for SvelteKit applications to capture header values and request processing details
  • Monitor server resource utilization for signs of DoS attacks, including CPU spikes, memory exhaustion, or connection pool depletion
  • Implement network segmentation monitoring to detect SSRF attempts reaching internal services
  • Set up alerting for abnormal traffic patterns targeting prerendered routes

How to Mitigate CVE-2025-67647

Immediate Actions Required

  • Upgrade SvelteKit to version 2.49.5 or later immediately
  • Configure the ORIGIN environment variable explicitly when using adapter-node
  • Deploy a reverse proxy (nginx, Apache, or cloud load balancer) that validates and sanitizes Host headers
  • Review and audit all prerendered routes in the application for potential exposure

Patch Information

The vulnerability is fixed in SvelteKit version 2.49.5. The patch introduces proper header normalization and validation in the adapter-node handler, along with corrected URL pathname decoding in the respond module. Organizations should update their dependencies using:

bash
npm update @sveltejs/kit@2.49.5
npm update @sveltejs/adapter-node

For detailed patch information, refer to the GitHub Security Advisory GHSA-j62c-4x62-9r35 and the security patch commit.

Workarounds

  • Set the ORIGIN environment variable explicitly to your application's public URL when using adapter-node
  • Configure a reverse proxy to validate and normalize Host headers before requests reach the SvelteKit application
  • Remove prerendered routes if they are not strictly necessary until the patch can be applied
  • Implement network-level controls to restrict outbound connections from the application server
bash
# Configuration example for setting ORIGIN environment variable
export ORIGIN="https://your-application-domain.com"

# Example nginx configuration for Host header validation
server {
    listen 443 ssl;
    server_name your-application-domain.com;
    
    # Validate Host header
    if ($host !~* ^(your-application-domain\.com)$) {
        return 444;
    }
    
    location / {
        proxy_pass http://localhost:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechSvelte

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:L/SI:L/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
  • AvailabilityHigh
  • CWE References
  • CWE-248

  • CWE-918
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-j62c-4x62-9r35
  • Related CVEs
  • CVE-2026-27902: Svelte Framework XSS Vulnerability

  • CVE-2026-27901: Svelte Framework XSS Vulnerability

  • CVE-2026-27119: Svelte Framework XSS Vulnerability

  • CVE-2026-27121: Svelte Framework XSS Vulnerability
Default Legacy - Prefooter | 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