Skip to content

CVE-2026-29772 Astro: Memory exhaustion DoS due to missing request body size limit in Server Islands

HighCVSS 7.5 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

Astro is a web framework. Prior to version 10.0.0, Astro's Server Islands POST handler buffers and parses the full request body as JSON without enforcing a size limit. Because JSON.parse() allocates a V8 heap object for every element in the input, a crafted payload of many small JSON objects achieves ~15x memory amplification (wire bytes to heap bytes), allowing a single unauthenticated request to exhaust the process heap and crash the server. The /_server-islands/[name] route is registered on all Astro SSR apps regardless of whether any component uses server:defer, and the body is parsed before the island name is validated, so any Astro SSR app with the Node standalone adapter is affected. This issue has been patched in version 10.0.0.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
@astrojs/node(npm) < 10.0.0 10.0.0 Fixed
astrojsnode >= 9.0.0, < 10.0.0 10.0.0 Fixed
withastro astro = < 10.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
withastro astro = < 10.0.0 No fix listed
@astrojs/node(npm) < 10.0.0 10.0.0
astrojsnode >= 9.0.0, < 10.0.0 10.0.0

References