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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-187"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84376.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "7.2.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "05763a0884aabb1da78a2749d5bb9d41ae620527"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "astro@7.2.4",
"range": [
{
"fixed": "8a31cba625a23d886614172e1d3b02b8eb896a18"
}
],
"source": "REFERENCES_TAG"
}
]
}