CVE-2025-64765

MEDIUM CVSS 4.0: 6.9 EPSS 0.54%
Updated Oct 18, 2026
Astro
Parameter Value
CVSS 6.9 (MEDIUM)
Affected Versions before 5.15.8
Fixed In 5.15.8
Type CWE-22 (Path Traversal)
Vendor Astro
Public PoC No

Astro is a web framework. Prior to version 5.15.8, a mismatch exists between how Astro normalizes request paths for routing/rendering and how the application’s middleware reads the path for validation checks. Astro internally applies decodeURI() to determine which route to render, while the middleware uses context.url.pathname without applying the same normalization (decodeURI).

This discrepancy may allow attackers to reach protected routes using encoded path variants that pass routing but bypass validation checks. This issue has been patched in version 5.15.8.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Astro Astro
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*
— 5.15.8