CVE-2026-84376
Published:September 02, 2026
Updated:September 11, 2026
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 Packages
https://github.com/withastro/astro.git (GITHUB):
Affected version(s) >=astro@0.18.9 <astro@7.2.4Fix Suggestion:
Update to version astro@7.2.4astro (NPM):
Affected version(s) >=0.0.1 <7.2.4Fix Suggestion:
Update to version 7.2.4astro (NPM):
Affected version(s) >=0.0.0-i18n-routing-20231101144500 <7.2.4Fix Suggestion:
Update to version 7.2.4Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Partial String Comparison
EPSS
Base Score:
0.41