CVE-2025-64765
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-64765, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-11-19

Last updated on: 2025-11-25

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-11-19
Last Modified
2025-11-25
Generated
2026-07-06
AI Q&A
2025-11-19
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
astro astro to 5.15.8 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the Astro web framework prior to version 5.15.8. It arises because Astro normalizes request paths for routing/rendering using decodeURI(), but the application's middleware reads the path without applying the same normalization. This mismatch allows attackers to use encoded path variants to access protected routes that should be restricted, bypassing validation checks.

Impact Analysis

An attacker could exploit this vulnerability to access protected routes in an Astro-based application by using encoded path variants that bypass middleware validation. This could lead to unauthorized access to sensitive parts of the application or data exposure.

Mitigation Strategies

The immediate step to mitigate this vulnerability is to upgrade Astro to version 5.15.8 or later, where the issue has been patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-64765. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart