{"id":"CVE-2026-59731","published":"2026-07-08T16:27:18Z","modified":"2026-07-09T14:38:54Z","title":"Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00466,"percentile":0.32358,"provenance":"source"},"cwes":[{"id":"CWE-647","name":"Use of Non-Canonical URL Paths for Authorization Decisions"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/17109","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/astro@6.4.8","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":6.47},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":[">= 6.4.7, < 6.4.8"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-09T14:38:51.210895Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"astro","vulnerableRanges":[">=6.4.7, <6.4.8"],"patched":["6.4.8"],"from":["GHSA-vj59-8hwv-xxmv"],"provenance":"source"}],"summary":{"text":"Astro 6.4.7 contains a flaw in its URL handling, where authorization decisions are made on a pathname that has only been partially decoded once the iterative decoder limit is reached. An attacker with network access, requiring no authentication or user interaction, can craft a request whose later rewrite route matching performs an additional decode and resolves to a protected route, bypassing the authorization check.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:32Z"},"euvd":{"id":"EUVD-2026-42341","exploited":false,"provenance":"source"}}