Summary
CVE-2026-114063 is a path traversal vulnerability (CWE-22) in the vite preview server of SvelteKit (@sveltejs/kit) on Windows. Unauthenticated attackers can read files outside the prerendered output directory. It is rated High (CVSS v4.0 8.7).
Technical details
- Root cause: improper limitation of a pathname to a restricted directory in the
vite previewserver on Windows. - Trigger conditions: the vite preview server runs on Windows and is reachable by the attacker.
- Attack vector: network; no authentication or user interaction required.
- Impact: disclosure of files outside the prerendered output directory (high confidentiality impact; no integrity or availability impact).
Affected software
@sveltejs/kitfrom 2.10.0 up to, but not including, 3.0.0 (Windowsvite previewserver)
Severity
- CVSS v4.0: 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 - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: upgrade
@sveltejs/kitto 3.0.0 or later. - If you cannot upgrade immediately: do not expose the
vite previewserver on Windows to untrusted networks or tunnels.

