
Cloud Vulnerability DB
コミュニティ主導の脆弱性データベース
CVE-2025-64765 is a moderate severity vulnerability affecting Astro npm package versions below 5.15.8. The vulnerability was discovered and disclosed in November 2025, affecting the middleware authentication mechanism in Astro applications. The issue stems from a path normalization mismatch between how Astro internally processes request paths for routing/rendering and how the application's middleware validates these paths (GitHub Advisory).
The vulnerability exists due to a discrepancy in URL path handling where Astro internally applies decodeURI() to determine routes for rendering, while the middleware uses context.url.pathname without the same normalization. This creates a path normalization mismatch where encoded paths (e.g., /%61dmin) are properly decoded for routing but remain encoded during middleware validation checks (GitHub Advisory).
This vulnerability could allow attackers to bypass authentication checks and access protected routes by using URL-encoded path variants. For example, an attacker could access a protected /admin route by using encoded variants like /%61dmin, effectively bypassing any middleware-based security controls (GitHub Advisory).
The vulnerability has been patched in Astro version 5.15.8. Users should upgrade to this version or later to receive the fix. The patch ensures middleware context receives the same normalized pathname value that Astro uses internally, preventing path normalization bypass attempts (GitHub Advisory).
ソース: このレポートは AI を使用して生成されました
無料の脆弱性評価
9つのセキュリティドメインにわたるクラウドセキュリティプラクティスを評価して、リスクレベルをベンチマークし、防御のギャップを特定します。
パーソナライズされたデモを見る
"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"