๐Ÿ” CVE Alert

CVE-2026-33768

MEDIUM 6.5

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

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-441 CWE-862
Vendor withastro
Product astro
Published Mar 24, 2026
Last Updated Mar 24, 2026
Stay Ahead of the Next One

Get instant alerts for withastro astro

Be the first to know when new medium vulnerabilities affecting withastro astro are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

withastro / astro
< 10.0.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/withastro/astro/security/advisories/GHSA-mr6q-rp88-fx84 github.com: https://github.com/withastro/astro/pull/15959 github.com: https://github.com/withastro/astro/commit/335a204161f5a7293c128db570901d4f8639c6ed github.com: https://github.com/withastro/astro/releases/tag/%40astrojs%2Fvercel%4010.0.2