What’s Vulnerable › Vulnerabilities
CVE-2026-33768: Astro: Unauthenticated Path Override via `x-astro-path` / `x_astro_path`
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-24 · updated 2026-06-17
- Weakness: CWE-441
Description
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.
Affected products
- Astro @Astrojs/Vercel: before 10.0.2 — fixed in 10.0.2
How to fix
Upgrade to a fixed version: Astro @Astrojs/Vercel 10.0.2. Check the vendor advisory for mitigations.
References
- https://github.com/withastro/astro/commit/335a204161f5a7293c128db570901d4f8639c6ed
- https://github.com/withastro/astro/pull/15959
- https://github.com/withastro/astro/releases/tag/%40astrojs%2Fvercel%4010.0.2
- https://github.com/withastro/astro/security/advisories/GHSA-mr6q-rp88-fx84
Get alerted when CVE-2026-33768 or the next vulnerability affects your stack