CVE-2026-33768 Astro: Unauthenticated Path Override via `x-astro-path` / `x_astro_path`
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Network Appliances
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| @astrojs/vercel(npm) | < 10.0.2 | 10.0.2 | Fixed |
| astrojsvercel | < 10.0.2 | 10.0.2 | Fixed |
| withastro astro | = < 10.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| withastro astro | = < 10.0.2 | No fix listed |
| @astrojs/vercel(npm) | < 10.0.2 | 10.0.2 |
| astrojsvercel | < 10.0.2 | 10.0.2 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-mr6q-rp88-fx84 exploit vendor-advisory
- https://github.com/withastro/astro/pull/15959 issue-tracking patch
- https://github.com/withastro/astro/commit/335a204161f5a7293c128db570901d4f8639c6ed patch
- https://github.com/withastro/astro/releases/tag/%40astrojs%2Fvercel%4010.0.2 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com vendor-advisory
- github.com
- github.com
- github.com product