Astro has memory exhaustion DoS due to missing request body size limit in Server Actions
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
Astro is a web framework. In versions 9.0.0 through 9.5.3, Astro server actions have no default request body size limit, which can lead to memory exhaustion DoS. A single large POST to a valid action endpoint can crash the server process on memory-constrained deployments. On-demand rendered sites built with Astro can define server actions, which automatically parse incoming request bodies (JSON or FormData). The body is buffered entirely into memory with no size limit — a single oversized request is sufficient to exhaust the process heap and crash the server. Astro's Node adapter (`mode: 'standalone'`) creates an HTTP server with no body size protection. In containerized environments, the crashed process is automatically restarted, and repeated requests cause a persistent crash-restart loop. Action names are discoverable from HTML form attributes on any public page, so no authentication is required. The vulnerability allows unauthenticated denial of service against SSR standalone deployments using server actions. A single oversized request crashes the server process, and repeated requests cause a persistent crash-restart loop in containerized environments. Version 9.5.4 contains a fix.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| withastro | astro | 9.0.0 to before 9.5.4 | 9.5.4 | Patch available | CNA |
| — | @astrojs/node (npm) | 9.0.0 to before 9.5.4 | 9.5.4 | Patch available | GHSA-jm64-8m5q-4qh8 |
- astro Vendorwithastro Affected 9.0.0 to before 9.5.4 Fixed in 9.5.4 Patch available CNA
- @astrojs/node (npm) Vendor— Affected 9.0.0 to before 9.5.4 Fixed in 9.5.4 Patch available GHSA-jm64-8m5q-4qh8
Remediation
- Fix · CNA astro (withastro) Fixed in 9.5.4
- Fix · GHSA-jm64-8m5q-4qh8 @astrojs/node (npm) Fixed in 9.5.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-27729
- 2026-10-03 Alias added: GHSA-jm64-8m5q-4qh8
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More withastro @astrojs/node vulnerabilities
- TI-2026-23358 Astro: Memory exhaustion DoS due to missing request body size limit in Server Islands CVSS 3.1HIGH 7.5
- TI-2026-22180 Astro is vulnerable to SSRF due to missing allowlist enforcement in remote image inferSize CVSS 3.1HIGH 7.2
- TI-2026-20654 Astro has Full-Read SSRF in error rendering via Host: header injection CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-27729 · CVE Program
- CVE-2026-27729 · NVD
- FIRST EPSS
- GHSA-jm64-8m5q-4qh8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences