Vulnerabilities/

Astro: Unauthenticated Path Override via `x-astro-path` / `x_astro_path`

Severity:
Medium

Description

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.

Recommendation

Update the @astrojs/vercel package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@astrojs/vercel
Anything's wrong? Let us know Last updated on March 26, 2026