{"id":"CVE-2026-59731","summary":"Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch","details":"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.","aliases":["GHSA-vj59-8hwv-xxmv"],"modified":"2026-07-15T01:49:02.222539565Z","published":"2026-07-08T16:27:18.496Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-647"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59731.json"},"references":[{"type":"WEB","url":"https://github.com/withastro/astro/releases/tag/astro@6.4.8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59731.json"},{"type":"ADVISORY","url":"https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59731"},{"type":"FIX","url":"https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785"},{"type":"FIX","url":"https://github.com/withastro/astro/pull/17109"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/withastro/astro","events":[{"introduced":"910e121ad33c481dcfb4b313abd7d8ff370ee347"},{"fixed":"27c80ea92248993e5fce94b2c26d87d611ab6785"},{"fixed":"3ec2c10b1fd073916a00b60ff74d9d5bb17ad208"}],"database_specific":{"extracted_events":[{"introduced":"6.4.7"},{"fixed":"6.4.8"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["astro@6.4.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59731.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"}]}