Security Resilience

CVE-2025-66202

Astro ≤ 5.15.8

Published
09 December 2025
Modified
07 October 2026
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS Score 0.0033 27th percentile
Risk Priority 50 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-66202 is a medium-severity Use of Non-Canonical URL Paths for Authorization Decisions (CWE-647) vulnerability in Astro. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 27th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-61925Same product: Astro Astro
CVE-2025-64764Same product: Astro Astro
CVE-2026-50146Same product: Astro Astro
CVE-2025-64765Same product: Astro Astro
CVE-2025-64525Same product: Astro Astro
CVE-2026-54299Same product: Astro Astro
CVE-2025-64757Same product: Astro Astro
CVE-2026-54298Same product: Astro Astro
CVE-2025-64745Same product: Astro Astro
CVE-2024-47885Same product: Astro Astro

Affected Assets

astro
astro
≤ 5.15.8

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V2.2.1
  • V10.4.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Proper enforcement of authorization decisions requires canonical URL normalization before policy evaluation, directly stopping non-canonical bypasses.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 mostly match
blocks

Enforcing well-defined authorization policies prevents URL canonicalization bypasses when path handling is included in the implementation.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can discover non-canonical URL bypasses but does not itself implement the preventive control.

finds

A.5.21 is a supply chain management clause whose monitoring process and penetration testing are scoped to validating supplier-delivered products against stated security requirements; CWE-647 is primarily a first-party implementation defect in authorization logic, and the clause does not establish a programme for finding such code-level defects.

prevents

Training developers on secure authorization patterns reduces the odds they introduce URL-canonicalization flaws, but the issue is subtle and specialized, so even trained developers miss it; consistent with A.6.3 -> CWE-598 = partial on a comparable developer-introduced implementation flaw.

prevents

Secure-coding standards that require URL canonicalization and safe path handling eliminate the root cause of the weakness.

blocks

Enforcing strict access-control rules on canonical resource identifiers directly prevents authorization bypass via non-canonical URLs.

References