{"id":"CVE-2026-84376","published":"2026-09-02T16:24:23Z","modified":"2026-09-04T02:44:22Z","title":"Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00707,"percentile":0.54313,"provenance":"source"},"cwes":[{"id":"CWE-187","name":"Partial String Comparison"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-376h-93r7-7g6f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/17701","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/05763a0884aabb1da78a2749d5bb9d41ae620527","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/astro@7.2.4","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":10.86},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":["< 7.2.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-04T02:44:13.248897Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"astro","vulnerableRanges":["<7.2.4"],"patched":["7.2.4"],"from":["GHSA-376h-93r7-7g6f"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-70213","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-59729","published":"2026-07-27","fixed":"7.0.6","kev":false},{"cve":"CVE-2026-73423","published":"2026-08-12","fixed":"7.0.6","kev":false},{"cve":"CVE-2026-73422","published":"2026-08-12","fixed":"7.1.0","kev":false,"link":{"from":"CVE-2026-73422","to":"CVE-2026-84376","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"7.1.0","toFixed":"7.2.4","daysApart":21}]}},{"cve":"CVE-2026-84376","published":"2026-09-02","fixed":"7.2.4","kev":false},{"cve":"CVE-2026-114128","published":"2026-10-21","fixed":"7.3.2","kev":false,"link":{"from":"CVE-2026-84376","to":"CVE-2026-114128","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"7.2.4","toFixed":"7.3.2","daysApart":49}]}},{"cve":"CVE-2026-114127","published":"2026-10-21","fixed":"7.3.3","kev":false},{"cve":"CVE-2026-126361","published":"2026-11-12","fixed":"7.4.5","kev":false}],"package":"npm:astro"}}