{"api_version":"1","generated_at":"2026-07-09T09:16:41+00:00","cve":"CVE-2026-59731","urls":{"html":"https://cve.report/CVE-2026-59731","api":"https://cve.report/api/cve/CVE-2026-59731.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59731","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59731"},"summary":{"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-08 17:17:25","updated_at":"2026-07-08 17:17:25"},"problem_types":["CWE-647","CWE-647 CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"8.2","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.2","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","data":{"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"}}],"references":[{"url":"https://github.com/withastro/astro/releases/tag/astro@6.4.8","name":"https://github.com/withastro/astro/releases/tag/astro@6.4.8","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785","name":"https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv","name":"https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/withastro/astro/pull/17109","name":"https://github.com/withastro/astro/pull/17109","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59731","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59731","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"withastro","product":"astro","version":"affected >= 6.4.7, < 6.4.8","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"astro","vendor":"withastro","versions":[{"status":"affected","version":">= 6.4.7, < 6.4.8"}]}],"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."}],"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","description":"CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-08T16:27:18.496Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv"},{"name":"https://github.com/withastro/astro/pull/17109","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/pull/17109"},{"name":"https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785"},{"name":"https://github.com/withastro/astro/releases/tag/astro@6.4.8","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/releases/tag/astro@6.4.8"}],"source":{"advisory":"GHSA-vj59-8hwv-xxmv","discovery":"UNKNOWN"},"title":"Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-59731","datePublished":"2026-07-08T16:27:18.496Z","dateReserved":"2026-07-06T15:34:16.917Z","dateUpdated":"2026-07-08T16:27:18.496Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-08 17:17:25","lastModifiedDate":"2026-07-08 17:17:25","problem_types":["CWE-647","CWE-647 CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":4.2}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"59731","Ordinal":"1","Title":"Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and ","CVE":"CVE-2026-59731","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"59731","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and "}]}}}