{"id":"CVE-2026-59731","state":"PUBLISHED","title":"Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch","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.","publishedAt":"2026-07-08T16:27:18.496Z","updatedAt":"2026-07-09T14:38:54.995Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["withastro astro"],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":">= 6.4.7, < 6.4.8","status":"affected"}]}],"references":["https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv","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"],"weaknesses":["CWE-647"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59731.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59731","state":"PUBLISHED","datePublished":"2026-07-08T16:27:18.496Z","dateUpdated":"2026-07-09T14:38:54.995Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-06T15:34:16.917Z"},"containers":{"cna":{"title":"Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch","descriptions":[{"lang":"en","value":"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":[{"vendor":"withastro","product":"astro","versions":[{"version":">= 6.4.7, < 6.4.8","status":"affected"}]}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv","name":"https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/17109","name":"https://github.com/withastro/astro/pull/17109","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785","name":"https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/astro@6.4.8","name":"https://github.com/withastro/astro/releases/tag/astro@6.4.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-647","lang":"en","description":"CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T16:27:18.496Z"},"source":{"advisory":"GHSA-vj59-8hwv-xxmv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T14:38:51.210895Z","id":"CVE-2026-59731","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-09T14:38:54.995Z"}}]}}}