Astro has memory exhaustion DoS due to missing request body size limit in Server Actions
CVE-2026-27729Published 24 Feb 2026, 00:46 UTC
Real-world risk
1.7/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.9
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| astroCommon | >= 9.0.0, < 9.5.4 | 9.5.4 |
What to do
Update to a fixed version: 9.5.4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- CISA SSVC: proof of concept
EPSS 0.5% chance of exploitation in 30 days (percentile 43), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.45 × threat 0.951.710
- Rounded to one decimal between 0.1 and 101.7
Exploitation and evidence timeline
- 24 Feb 2026 Published
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.7 (cvss fallback)
Weakness
CWE-770
References
- https://github.com/withastro/astro/security/advisories/GHSA-jm64-8m5q-4qh8vendor-advisory
- https://github.com/withastro/astro/pull/15564misc
- https://github.com/withastro/astro/commit/522f880b07a4ea7d69a19b5507fb53a5ed6c87f8misc
- https://github.com/withastro/astro/releases/tag/%40astrojs%2Fnode%409.5.4misc
- CVE-2026-27729 on CVE.org