Vulnerability

CVE-2026-33768

criticalCVSS 3.1 9.1Published 24 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Astro \@astrojs\/vercel

Weakness type

References

  • github.com /withastro/astro/commit/335a204161f5a7293c128db570901d4f863…
  • 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

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning