SvelteKit Secret Exposure Vulnerability in Import Guard
A flaw in the build-time server-only module import guard affects SvelteKit deployments and can lead to server secrets being statically replaced inside the client bundle. Published on November 16, 2026, and tracked as CVE-2026-128118 with advisory GHSA-m9j8-jcmv-hp69, this high-severity vulnerability arises when server-only imports are loaded through src/params.js, bypassing standard restrictions and leaking sensitive data to the client side. You should care if you run SvelteKit versions 3.0.0 through 3.1.0 using npm package management on your application hosts. To resolve this issue, apply the following steps: 1. Identify applications using vulnerable package versions between 3.0.0 and 3.1.0 of @sveltejs/kit. 2. Update the package to version 3.1.1 or later.