CVE-2026-84376
published medium CVSS 4.0 · 6.3Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| withastro | — | astro< 7.2.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| withastro | astro | < 7.2.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-187 CWE-187: Partial String Comparison
References
4Provider assertions
2GitHub_M · cna
Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1f84e23dd7032c96155e94b631623e9b42d87f3947ae09d0d4c5415091d5fe78
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record