CVE-2026-84376 json
Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base
published 2026-09-02 2 mo ago modified 2026-09-09 1 mo ago also GHSA-376h-93r7-7g6f , EUVD-2026-70213
- cvss
- 6.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm astro 7.2.4
- github.com/withastro/astro@05763a0 commit
- github.com/withastro/astro#17701 pull request
- github.com/withastro/astro/releases/tag/astro@7.2.4 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | 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 |
| CNA | 4.0 | 6.3 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | astro | <7.2.4 |
7.2.4 |
Affected products
- withastro astro
Classification
- Weakness
-
- CWE-187 Partial String Comparison
References
-
github.com
/withastro/astro/pull/17701
web
-
github.com
/withastro/astro/commit/05763a0884aabb1da78a2749d5bb9d41ae620527
web
-
github.com
/withastro/astro/security/advisories/GHSA-376h-93r7-7g6f
web
-
github.com
/withastro/astro/releases/tag/astro@7.2.4
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-84376
advisory
-
github.com
/withastro/astro
package
Sources
- CVE List CVE-2026-84376
- GitHub Advisory GHSA-376h-93r7-7g6f
- NVD CVE-2026-84376
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.