# CVE-2026-59731: Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-08T16:27:18.496Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-vj59-8hwv-xxmv
- Weaknesses: CWE-647
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- withastro astro: >= 6.4.7, < 6.4.8
- astro (npm): from 6.4.7 before 6.4.8

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv> (exploit, web)
- <https://github.com/withastro/astro/pull/17109> (web)
- <https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785> (web)
- <https://github.com/withastro/astro/releases/tag/astro@6.4.8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59731> (advisory)
- <https://github.com/withastro/astro> (package)

## Sources

- CVE List: [CVE-2026-59731](https://www.cve.org/CVERecord?id=CVE-2026-59731), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-vj59-8hwv-xxmv](https://github.com/advisories/GHSA-vj59-8hwv-xxmv), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-59731](https://nvd.nist.gov/vuln/detail/CVE-2026-59731), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59731 · Whole record: https://cve.day/CVE-2026-59731.json · Rebuilt by cve.day 2026-11-25T22:59:27.397Z
