p PatchFirst

CVE-2026-33768

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 6.5 · Moyenne · EPSS 0,3% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • astro

    Versions du logiciel
    • < 10.0.2: Concernée

    Aucun correctif publié

  • @astrojs/vercel npm

    Plages de versions concernées
    • SEMVER: < 10.0.2

    Mettez à jour vers 10.0.2

Sources originales

Vérifiez votre serveur →