p PatchFirst

CVE-2026-84376

CVE-2026-84376 · Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base

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

Astro is a web framework for content-driven websites. Prior to 7.2.4, Astro stripped a configured non-root base path from request pathnames using a string-prefix check without verifying a path-segment boundary. With base "/app", a request to "/appX/admin" resolved internally to the protected "/admin" route while middleware observed "/appX/admin" in context.url.pathname. In applications that authorize base-prefixed routes by inspecting context.url.pathname, an unauthenticated remote attacker could bypass pathname-based middleware authorization and reach protected routes. This issue is fixed in version 7.2.4.

CVSS 6.3 · Moyenne · EPSS 0,7% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • astro

    Versions du logiciel
    • < 7.2.4: Concernée

    Aucun correctif publié

  • astro npm

    Plages de versions concernées
    • SEMVER: < 7.2.4

    Mettez à jour vers 7.2.4

Sources originales

Vérifiez votre serveur →