Skip to main content

SvelteKit EUVDEUVD-2026-107014

| CVE-2026-114063 HIGH
Path Traversal (CWE-22)
2026-10-21 VulnCheck GHSA-92p4-8jf4-qc63
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach network-exposed Vite preview server (Windows)
  2. Exploit
    Send crafted path-traversal HTTP request
  3. Execution
    Escape prerendered output directory
  4. Impact
    Read source, config, or credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the SvelteKit Vite preview server (vite preview) to be running on a Windows host AND reachable by the attacker over the network or through a tunnel; the server must be bound beyond localhost, which is not its default local-only usage. The vulnerability does not affect production SvelteKit deployments (e.g., adapter-node or static-adapter output) and does not affect POSIX/Linux/macOS hosts. No authentication (PR:N) and no user interaction (UI:N) are needed once the preview server is reachable, but the Windows-only and preview-server-only scope sharply limits realistic exposure; impact is limited to disclosure of files readable by the server process.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) scores 8.7 (High), reflecting unauthenticated, network-reachable arbitrary file read with high confidentiality impact and no integrity or availability effect. However, the real-world priority is materially lower than the raw score suggests because the flaw exists only in the Vite preview server (a build-preview tool, not a production SvelteKit server such as adapter-node output) and only on Windows hosts. Exploitation presupposes that a developer or CI host has exposed vite preview beyond localhost (e.g., on a LAN interface or via a tunnel like ngrok), which is not the default usage pattern. No CISA KEV listing is present in the input, so this is NOT confirmed actively exploited; no public exploit is identified; and no EPSS score was provided, so exploitation probability cannot be quantified from the data given. Net assessment: a genuine unauthenticated confidentiality bug, but constrained by platform (Windows-only) and deployment surface (network-exposed preview server), making it a moderate real-world risk rather than a broad critical emergency - verify whether any internet-facing preview servers exist in your environment.

Exploit ScenarioDerived

A developer running vite preview on a Windows machine exposes the preview server to the network or shares it through a tunnel. An unauthenticated remote attacker sends crafted HTTP requests with path-traversal sequences to escape the prerendered output directory and read arbitrary files readable by the server process, exfiltrating source code, configuration, or credentials. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 21, 2026

A path traversal vulnerability in SvelteKit's Vite preview server on Windows (versions 2.10.0 before 3.0.0) allows remote attackers to read files outside the prerendered output directory, potentially exposing source code, configuration, or credentials readable by the server process. Exploitation requires the vite preview server to be running on a Windows host and reachable over the network or via a tunnel - a non-default posture, since the preview server is normally bound to localhost. Production deployments using adapter-node or static adapters, and hosts running POSIX/Linux/macOS, are not affected; no public exploit code has been identified at time of analysis, and impact is confined to confidentiality (no integrity or availability effect).

RemediationAI

Upgrade @sveltejs/kit to version 3.0.0 or later, which is the first release outside the affected 2.10.0-before-3.0.0 range; consult the vendor advisory at https://github.com/sveltejs/kit/security/advisories/GHSA-xgrj-p7pg-6vm3 for the authoritative fix guidance. Because the vulnerability exists only in the vite preview development server, the most effective immediate control is to stop using vite preview on Windows hosts that are reachable from untrusted networks - replace it with a production adapter such as adapter-node behind a hardened reverse proxy, at the cost of a slightly more involved deployment process. If the preview server must run for testing, bind it explicitly to 127.0.0.1 (the default) and refuse to expose it through tunnels or port forwards; note that this reduces accessibility for legitimate remote testers. As an additional compensating layer, restrict inbound access to the preview port at the host firewall or via network policy to known testing addresses, and run the preview process under an account with minimal filesystem read privileges so that any successful traversal yields only non-sensitive files - both measures carry the trade-off of added operational overhead and can break legitimate shared testing workflows.

Affected VersionsENISA

kit 2.10.0 <3.0.0

Affected Packages

euvd kit fix: 3.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SvelteKit is a full-stack web framework built on top of Vite, and its vite preview command is a local development utility for serving already-built output rather than a production web server. The flaw is a classic CWE-22 path traversal: crafted HTTP requests containing traversal sequences escape the confines of the prerendered output directory, and on Windows the underlying path handling allows resolution to files elsewhere on the filesystem readable by the Node process. Because the issue resides in the preview/development layer, it does not touch SvelteKit's production adapters (adapter-node, static adapter) or its routing in deployed applications. Exploitation is conditional on two environmental factors: the preview server must be Windows-hosted, and it must be exposed beyond localhost (for example by binding to a public interface or through a tunneling service), which is contrary to its intended local-only usage. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N) yields 8.7, while an independent CVSS 3.1 assessment concurs on unauthenticated network access with high confidentiality impact and no integrity or availability effect; the Windows-only and preview-server-only scope sharply limits realistic exposure.

Know when Kit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Unauthenticated network request against a reachable preview server (AV:N/AC:L/PR:N/UI:N) yields high confidentiality file disclosure with no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 21, 2026 - 02:01 EUVD
CVE Published
Oct 21, 2026 - 00:36 cve.org
HIGH 8.7

DescriptionCVE.org

SvelteKit (@sveltejs/kit) from 2.10.0 before 3.0.0 contains a path traversal vulnerability in the vite preview server on Windows that allows unauthenticated attackers to read files outside the prerendered output directory. Attackers who can reach the preview server through network access or a tunnel can send crafted requests to expose source code, configuration, or credentials readable by the server process.

Technical POC Analysis

Evidence caveat up front: the only supplied artefact is advisory GHSA-xgrj-p7pg-6vm3.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

SvelteKit's Vite preview server on Windows is affected by a path traversal issue that could allow an attacker to read files outside the intended preview output when that server is exposed beyond localhost; production adapter-node/static deployments and non-Windows hosts are not affected. No public exploit identified at time of analysis, but leadership should care because exposed preview environments often contain source code, configuration, and credentials and may lack production-grade monitoring and network restrictions.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Disable or avoid running vite preview on Windows; bind the preview server to localhost only; block network and tunnel access to preview ports; use adapter-node or static production deployments instead of preview servers; run preview services under a low-privilege account; restrict filesystem read permissions; and rotate secrets if exposure is suspected.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
popular JS framework, but vulnerable preview server rarely network-exposed
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Related Vulnerabilities in SvelteKit Redirect, XSS, SSRF, and Path Traversal

View all 4

More in Kit

View all
CVE-2024-23641 HIGH POC
7.5 Jan 24

SvelteKit is a web development kit. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authe

CVE-2026-66062 MEDIUM POC
5.3 Aug 07

Remote denial-of-service in @sveltejs/kit (versions ≤ 2.70.1) is achievable by any unauthenticated attacker who sends a

CVE-2025-67647 CRITICAL
9.1 Jan 15

SvelteKit 2.19.0-2.49.4 has SSRF/DoS affecting applications with prerendered routes. Can be exploited to make the server

CVE-2026-82259 HIGH
8.7 Aug 28

Denial of service in SvelteKit versions 2.49.0 through 2.53.2 is achievable by unauthenticated remote attackers who subm

CVE-2026-82261 HIGH
8.7 Aug 28

CPU exhaustion in SvelteKit's experimental remote form deserialization endpoint allows unauthenticated remote attackers

CVE-2026-82260 HIGH
8.7 Aug 28

Memory exhaustion in @sveltejs/kit versions 2.49.0 through 2.52.1 allows unauthenticated remote attackers to crash the s

CVE-2026-40073 HIGH
8.2 Apr 10

Request body size limit bypass in SvelteKit adapter-node allows unauthenticated attackers to submit oversized payloads,

CVE-2026-22803 HIGH
7.5 Jan 15

SvelteKit versions 2.49.0 through 2.49.4 are vulnerable to denial-of-service attacks through the experimental form remot

CVE-2026-82256 MEDIUM
6.9 Aug 28

Uncontrolled payload size acceptance in SvelteKit's remote form function handler allows unauthenticated remote attackers

CVE-2026-40074 MEDIUM
6.3 Apr 10

SvelteKit versions prior to 2.57.1 are vulnerable to denial of service when the redirect() function is called from the h

CVE-2026-82258 MEDIUM
5.9 Aug 28

Cross-user data disclosure in SvelteKit (npm/@sveltejs/kit versions 2.38.0 through 2.60.0) stems from a race condition i

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy