Path traversal in SvelteKit vite preview on Windows exposes files
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
SvelteKit (@sveltejs/kit) from 2.10.0 before 3.0.0 contains a path traversal flaw in the vite preview server on Windows, tracked as CWE-22. An unauthenticated remote attacker who can reach the preview server through the network or a tunnel can send crafted requests to read files outside the prerendered output directory. Readable source code, configuration and credentials held by the server process are exposed.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update @sveltejs/kit to version 3.0.0 or later. The sources list no fixed version for other branches.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA kit (sveltejs) Fixed in 3.0.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
sveltejs kit 3.0.0
4 records Highest priority Priority MEDIUM 1 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2026-78675 Server-side request forgery in SvelteKit self-fetch fallbacksPriority LOW 36
- TI-2026-78674 Cross-site scripting in SvelteKit prerendered pages via cache-control headerPriority LOW 11
- TI-2026-78673 Open redirect in SvelteKit enhanced form actionsPriority LOW 11
Timeline
- 2026-10-21 Threatist record created from CVE-2026-114063
- 2026-10-22 Priority changed: MEDIUM → LOW
- 2026-10-27 CISA SSVC decision points changed
- 2026-10-27 Priority changed: LOW → MEDIUM
References
More sveltejs vulnerabilities
- TI-2023-13469 SvelteKit framework has Insufficient CSRF protection for CORS requests CVSS 3.1HIGH 8.8
- TI-2023-13464 SvelteKit has Insufficient Cross-Site Request Forgery Protection CVSS 3.1HIGH 8.8
- TI-2024-15660 Sending a GET or HEAD request with a body crashes SvelteKit CVSS 3.1HIGH 7.5
- TI-2024-30159 Potential mXSS vulnerability due to improper HTML escaping in svelte CVSS 3.1MEDIUM 6.1
- TI-2025-23466 SvelteKit allows XSS via tracked search_params CVSS 3.1MEDIUM 5.4
- TI-2025-13940 Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR) CVSS 4.0MEDIUM 5.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences