CVE-2026-33768
Astro is a web framework. Prior to version 10.0.2, the …
Astro is a web framework. Prior to version 10.0.2, the @astrojs/vercel serverless entrypoint reads the x-astro-path header and x_astro_path query parameter to rewrite the internal request path, with no authentication whatsoever. On deployments without Edge Middleware, this lets anyone bypass Vercel's platform-level path restrictions entirely. The override preserves the original HTTP method and body, so this isn't limited to GET. POST, PUT, DELETE all land on the rewritten path. A Firewall rule blocking /admin/* does nothing when the request comes in as POST /api/health?x_astro_path=/admin/delete-user. This issue has been patched in version 10.0.2.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/withastro/astro/commit/335a204161f5a7293c128db570901d4f8639c6ed
- github.com/withastro/astro/pull/15959
- github.com/withastro/astro/releases/tag/%40astrojs%2Fvercel%4010.0.2
- github.com/withastro/astro/security/advisories/GHSA-mr6q-rp88-fx84
- nvd.nist.gov/vuln/detail/CVE-2026-33768
- github.com/advisories/GHSA-f82v-jwr5-mffw
- github.com/withastro/astro/releases/tag/@astrojs/[email protected]
- github.com/advisories/GHSA-mr6q-rp88-fx84
- nvd.nist.gov/vuln/detail/CVE-2026-33768
- cve.org/CVERecord?id=CVE-2026-33768
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.