CVE-2026-84376 json
Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base
published 2mo ago modified 2mo ago also EUVD-2026-70213 , GHSA-376h-93r7-7g6f
- 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
- astro 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
Is CVE-2026-84376 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2mo ago
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-11).
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, advisory
-
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
- Maintainer advisory GHSA-376h-93r7-7g6f
Fencer Intel 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.
The maintainers of withastro/astro published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.