withastro up to 5.15.7 non-canonical url paths for authorization decisions
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability was found in withastro astro up to 5.15.7. It has been classified as critical. This affects an unknown part. This manipulation causes use of non-canonical url paths for authorization decisions. This vulnerability is registered as CVE-2025-66202. Remote exploitation of the attack is possible. No exploit is available. Upgrading the affected component is recommended.
Details
A vulnerability was found in withastro astro up to 5.15.7. It has been declared as critical. Affected by this vulnerability is an unknown code block. The manipulation with an unknown input leads to a use of non-canonical url paths for authorization decisions vulnerability. The CWE definition for the vulnerability is CWE-647. The product defines policy namespaces and makes authorization decisions based on the assumption that a URL is canonical. This can allow a non-canonical URL to bypass the authorization. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. This vulnerability is known as CVE-2025-66202 since 11/25/2025. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. The technical details are unknown and an exploit is not publicly available.
Upgrading to version 5.15.8 eliminates this vulnerability. Applying the patch 6f800813516b07bbe12c666a92937525fddb58ce is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at CNNVD (CNNVD-202512-1079). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/withastro/astro/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.8VulDB Meta Temp Score: 6.7
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔒
CNA Base Score: 6.5
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Use of non-canonical url paths for authorization decisionsCWE: CWE-647
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: astro 5.15.8
Patch: 6f800813516b07bbe12c666a92937525fddb58ce
Timeline
11/25/2025 CVE reserved12/09/2025 Advisory disclosed
12/09/2025 VulDB entry created
12/11/2025 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-ggxq-hp9w-j794
Status: Confirmed
CVE: CVE-2025-66202 (🔒)
GCVE (CVE): GCVE-0-2025-66202
GCVE (VulDB): GCVE-100-335095
CNNVD: CNNVD-202512-1079 - Astro 安全漏洞
Entry
Created: 12/09/2025 12:02Updated: 12/11/2025 06:17
Changes: 12/09/2025 12:02 (65), 12/09/2025 16:46 (6), 12/11/2025 06:17 (11)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.