CVE-2026-40073: @sveltejs/adapter-node has a BODY_SIZE_LIMIT bypass
Under certain circumstances, requests could bypass the BODYSIZELIMIT on SvelteKit applications running with adapter-node. This bypass does not affect body size limits at other layers of the application stack, so limits enforced in the WAF, gateway, or at the platform level are unaffected.
Published Apr 10, 2026
Affected packages
@sveltejs/kit
- Ecosystem
- npm
- Affected
- <= 2.57.0
- Fixed in
- 2.57.1
- Check
npm ls @sveltejs/kit
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Under certain circumstances, requests could bypass the BODY_SIZE_LIMIT on SvelteKit applications running with adapter-node. This bypass does not affect body size limits at other layers of the application stack, so limits enforced in the WAF, gateway, or at the platform level are unaffected.
Credited to elliott-with-the-longest-name-on-github, KarimPwnz.
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-2crg-3p73-43xp
- https://github.com/sveltejs/kit/commit/3202ed6c98f9e8d86bf0c4c7ad0f2e273e5e3b95
- https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.57.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-40073
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/advisories/GHSA-2crg-3p73-43xp
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-128116
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
medium5.3Nov 16, 2026CVE-2026-128118
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
high7.5Nov 16, 2026CVE-2026-128119
SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations
medium5.9Nov 16, 2026CVE-2026-128120
SvelteKit: DoS while parsing form data from a remote functions `form`
high7.5Nov 16, 2026CVE-2026-128117
SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames
medium5.9Nov 13, 2026CVE-2026-114060
SvelteKit: URL redirection to untrusted site via enhanced form submission
low4.7Oct 23, 2026
