CVE-2026-84376

medium

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.

References

https://github.com/withastro/astro/security/advisories/GHSA-376h-93r7-7g6f

https://github.com/withastro/astro/releases/tag/[email protected]

https://github.com/withastro/astro/pull/17701

https://github.com/withastro/astro/commit/05763a0884aabb1da78a2749d5bb9d41ae620527

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-70213

Details

Source: Mitre, NVD

Published: 2026-09-02

Updated: 2026-09-09

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 9.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Severity: Critical

CVSS v4

Base Score: 6.3

Vector: 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

Severity: Medium

EPSS

EPSS: 0.00707