CVE-2026-84376

published 2 Sep 2026 · updated 4 Sep 2026

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

6.3MediumCVSS 6.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
withastro<7.2.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-84376 severity on Zeptric[![CVE-2026-84376](https://zeptric.io/badge/cve/CVE-2026-84376.svg)](https://zeptric.io/cve/CVE-2026-84376)