CVEvulnerability
CVE-2026-84376
6.3 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-09-02
- Last modified
- 2026-09-09
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 6.3 MEDIUM — CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Weaknesses
- 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.
Related
Weakness · CWE (1)
- CWE-187 Partial String Comparison weakness
References
- 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/[email protected] github.com
- https://github.com/withastro/astro/security/advisories/GHSA-376h-93r7-7g6f github.com