CVE-2025-66202
published medium CVSS 3.1 · 6.5Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| withastro | — | astro< 5.15.8 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| withastro | astro | < 5.15.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-647 CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions
References
3Provider assertions
2GitHub_M · cna
Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 06a3d221df2e57b5219da7ca8395256f8ec8cd9a721f9ad7669d01c34c4f8792
- Ingested
- 23 Sep 2026, 08:56:35 UTC
- Source record
- Official CVE record