Skip to main content
VulnerabilityPublished

CVE-2025-66202: withastro astro · Use of Non-Canonical URL Paths for Authorization Decisions

Affects withastro astroSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 6.5 Medium : upgrade to 5.15.8 when convenient.

Data as of 26 Oct 2026, 12:29 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.15.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade withastro astro to 5.15.8.

Affected software

ProductAffectedFixed in
npmastropkg:npm/astroOther threatsAffected
  • <5.15.8
Fixed in
  • 5.15.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade all Astro framework instances to version 5.15.8 or later, where the double URL encoding bypass is fully fixed. In addition to patching, developers should audit middleware and authorization logic to ensure that URL paths are fully normalized and canonicalized before any security decisions are made. Implement strict input validation and decoding routines that handle multiple layers of encoding. Employ web application firewalls (WAFs) with rules to detect and block suspicious double-encoded URL patterns. Conduct thorough security testing, including fuzzing and penetration testing focused on URL encoding edge cases. Monitor web server logs for unusual URL encoding patterns that could indicate exploitation attempts. Finally, maintain an inventory of applications using Astro to prioritize patching and risk assessment efforts.

Description

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 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.

References

Community reviews

Loading reviews…