CVE-2025-64765CWE-22path-traversal

CVE-2025-64765

Medium · published November 19, 2025

CVSS v3.1
5.3
EPSS
1%
Percentile
44.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00538 · 44.5th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-11-19T22:15Z
Affected products (1)
ProductVersionsFixed in
astro/astro< 5.15.85.15.8
References (2)
EPSS history
Timeline
  • 19 NOV 16:41Z
    Astro middleware authentication checks based on url.pathname can be bypassed via url encoded values
    cvelistv5