Medium severity · published Sep 2, 2026
CVE-2026-84376
Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base
6.3
CVSS
0.7%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 53% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
astro · withastro
< 7.2.4 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-84376
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-84376
github.com
https://github.com/withastro/astro/commit/05763a0884aabb1da78a2749d5bb9d41ae620527
github.com
https://github.com/withastro/astro/pull/17701
github.com
https://github.com/withastro/astro/releases/tag/astro@7.2.4
github.com
https://github.com/withastro/astro/security/advisories/GHSA-376h-93r7-7g6f
More from astro
9.1
CVE-2026-33768
Astro: Unauthenticated Path Override via `x-astro-path` / `x_astro_path`
8.6
CVE-2026-25545
Astro has Full-Read SSRF in error rendering via Host: header injection
8.2
CVE-2026-102984
Astro: Malformed port in the Host header can crash the Node adapter
8.2
CVE-2026-59731
Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch
7.5
CVE-2026-54299
Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPageFetch default + unvalidated createRequestFromNodeRequest URL)
