{"id":"CVE-2025-66202","state":"PUBLISHED","title":"Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765","description":"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.","publishedAt":"2025-12-08T23:41:21.976Z","updatedAt":"2025-12-09T16:04:07.923Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["withastro astro"],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":"< 5.15.8","status":"affected"}]}],"references":["https://github.com/withastro/astro/security/advisories/GHSA-whqg-ppgf-wp8c","https://github.com/withastro/astro/security/advisories/GHSA-ggxq-hp9w-j794","https://github.com/withastro/astro/commit/6f800813516b07bbe12c666a92937525fddb58ce"],"weaknesses":["CWE-647"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66202.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66202","state":"PUBLISHED","datePublished":"2025-12-08T23:41:21.976Z","dateUpdated":"2025-12-09T16:04:07.923Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-11-24T23:01:29.677Z"},"containers":{"cna":{"title":"Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":"< 5.15.8","status":"affected"}]}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-whqg-ppgf-wp8c","name":"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","name":"https://github.com/withastro/astro/security/advisories/GHSA-ggxq-hp9w-j794","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/6f800813516b07bbe12c666a92937525fddb58ce","name":"https://github.com/withastro/astro/commit/6f800813516b07bbe12c666a92937525fddb58ce","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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":"2025-12-08T23:41:21.976Z"},"source":{"advisory":"GHSA-whqg-ppgf-wp8c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-09T14:18:21.955591Z","id":"CVE-2025-66202","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-09T16:04:07.923Z"}}]}}}