high8.2
CVE-2026-59731
Astro: Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch
Impact
Astro is a web framework for content-driven websites. Version 6.4.7 performs authorization decisions on a partially decoded pathname after reaching the iterative URL decoder limit, while later rewrite route matching performs an additional decodeURI() operation and can resolve the request to a protected route. This issue is fixed in version 6.4.8.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | astro | >= 6.4.7, < 6.4.8 | 6.4.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-vj59-8hwv-xxmv
- https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv
- https://nvd.nist.gov/vuln/detail/CVE-2026-59731
- https://github.com/withastro/astro/pull/17109
- https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785
- https://github.com/withastro/astro/releases/tag/astro@6.4.8