{"id":"CVE-2025-66202","published":"2025-12-08T23:41:21Z","modified":"2025-12-09T16:04:07Z","title":"Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"Astro is a web framework. Versions 5.15.7 and below have a double URL encoding bypass which allows any unauthenticated attacker to bypass path-based authentication checks in Astro middleware, granting unauthorized access to protected routes. While the original CVE-2025-64765 was fixed in v5.15.8, the fix is insufficient as it only decodes once. By using double-encoded URLs, attackers can still bypass authentication and access any route protected by middleware pathname checks. This issue is fixed in version 5.15.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00333,"percentile":0.27366,"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-whqg-ppgf-wp8c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/security/advisories/GHSA-ggxq-hp9w-j794","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/6f800813516b07bbe12c666a92937525fddb58ce","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":5.47},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":["< 5.15.8"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-09T14:18:21.955591Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"astro","vulnerableRanges":["<5.15.8"],"patched":["5.15.8"],"from":["GHSA-whqg-ppgf-wp8c"],"provenance":"source"}],"summary":{"text":"The flaw is an authentication bypass in Astro, a web framework, affecting its middleware path-based authorization checks. The bypass relies on double URL encoding, because the incomplete fix for the original issue decodes a request path only once before those checks run. An unauthenticated remote attacker can send double-encoded URLs to reach protected routes guarded by middleware pathname checks, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:18Z"},"euvd":{"id":"EUVD-2025-201717","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-withastro-astro-cve-2025-64765","parents":[{"from":"CVE-2025-64765","to":"CVE-2025-66202","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"While the original CVE-2025-64765 was fixed in v5.15.8, the fix is insufficient as it only decodes once.","from":"CVE.org","in":"CVE-2025-66202"},{"kind":"osv-related","provenance":"source","id":"GHSA-ggxq-hp9w-j794","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-whqg-ppgf-wp8c","via":"reference","url":"https://github.com/withastro/astro/security/advisories/GHSA-ggxq-hp9w-j794"}]}],"packageHistory":[{"cve":"CVE-2025-64745","published":"2025-11-13","fixed":"5.15.6","kev":false,"link":{"from":"CVE-2025-64745","to":"CVE-2025-66202","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"5.15.6","toFixed":"5.15.8","daysApart":25}]}},{"cve":"CVE-2025-64764","published":"2025-11-19","fixed":"5.15.8","kev":false},{"cve":"CVE-2025-64765","published":"2025-11-19","fixed":"5.15.8","kev":false},{"cve":"CVE-2025-66202","published":"2025-12-08","fixed":"5.15.8","kev":false},{"cve":"CVE-2025-65019","published":"2025-11-19","fixed":"5.15.9","kev":false},{"cve":"CVE-2026-33769","published":"2026-03-24","fixed":"5.18.1","kev":false},{"cve":"CVE-2026-41067","published":"2026-04-24","fixed":"6.1.6","kev":false}],"package":"npm:astro"}}