withastro up to 5.15.7 non-canonical url paths for authorization decisions

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.7$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB 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): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use of non-canonical url paths for authorization decisions
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: astro 5.15.8
Patch: 6f800813516b07bbe12c666a92937525fddb58ce

Timelineinfo

11/25/2025 CVE reserved
12/09/2025 +14 days Advisory disclosed
12/09/2025 +0 days VulDB entry created
12/11/2025 +2 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 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 安全漏洞

Entryinfo

Created: 12/09/2025 12:02
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!