CVE-2026-33768
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.
How to fix
- @astrojs/vercel10.0.2 or later
- astro \@astrojs\/vercel10.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @astrojs/vercelnpm | v < 10.0.2 | 10.0.2 |
| astro \@astrojs\/vercel | v < 10.0.2 | 10.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.