CVE-2026-33768

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

State
Published
Severity
6.5 Medium
Published
Mar 24, 2026
Updated
Mar 24, 2026
Reserved
Mar 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NGitHub_M

Weaknesses

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

Affected Products

ProductVersions
astrowithastro
  • < 10.0.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.