Skip to main content
← All vulnerabilities
CVE-2026-84376GHSA-376H-93R7-7G6F

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.2.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • withastro astro

    fixed in 7.2.4

  • astronpm

    fixed in 7.2.4

References 4

GitHub · withastro/astro