Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @astrojs/vercel
  4. ›
  5. CVE-2026-33768

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

March 26, 2026

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.

References

  • github.com/advisories/GHSA-f82v-jwr5-mffw
  • github.com/advisories/GHSA-mr6q-rp88-fx84
  • github.com/withastro/astro
  • github.com/withastro/astro/commit/335a204161f5a7293c128db570901d4f8639c6ed
  • github.com/withastro/astro/pull/15959
  • github.com/withastro/astro/releases/tag/@astrojs/vercel@10.0.2
  • github.com/withastro/astro/security/advisories/GHSA-mr6q-rp88-fx84
  • nvd.nist.gov/vuln/detail/CVE-2026-33768

Code Behaviors & Features

Detect and mitigate CVE-2026-33768 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.0.2

Fixed versions

  • 10.0.2

Solution

Upgrade to version 10.0.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
  • CWE-862: Missing Authorization

Source file

npm/@astrojs/vercel/CVE-2026-33768.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 27 Mar 2026 00:18:30 +0000.