Auth bypass in Astro \@Astrojs\/vercel

CVE-2026-33768

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.

EPSS: 0.003 (25.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-33768?
CVE-2026-33768 is a medium-severity vulnerability in Astro \@Astrojs\/vercel, classified under Unintended Proxy or Intermediary (Confused Deputy). CVSS score: 6.5/10. Published 2026-03-24.
How severe is CVE-2026-33768?
Medium severity. CVSS v3 base score is 6.5 out of 10.