What’s Vulnerable › Vulnerabilities
CVE-2026-84376: Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base
- Severity: medium (CVSS 6.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-02 · updated 2026-09-09
- Weakness: CWE-187
Description
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 products
- withastro astro: before 7.2.4
References
- https://github.com/withastro/astro/commit/05763a0884aabb1da78a2749d5bb9d41ae620527
- https://github.com/withastro/astro/pull/17701
- https://github.com/withastro/astro/releases/tag/astro@7.2.4
- https://github.com/withastro/astro/security/advisories/GHSA-376h-93r7-7g6f
Get alerted when CVE-2026-84376 or the next vulnerability affects your stack