CVE-2025-66202: Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765
Affects astroSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 6.5 Medium : upgrade to 5.15.8 when convenient.
Data as of 27 Nov 2026, 04:50 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.5 |
|---|
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 Nov 2026.
What to do
Upgrade astro to 5.15.8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmastro | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Astro version 5.15.8 that addresses the authentication bypass vulnerability. Users should upgrade to version 5.15.8 or later. The vendor recommends rejecting requests containing multi-level URL encoding by returning a 400 Bad Request response to prevent bypass attempts. No additional mitigation is required if the patch is applied.
Description
Astro versions prior to 5.15.8 are vulnerable to an authentication bypass due to double URL encoding. This flaw allows unauthenticated attackers to bypass path-based authentication checks by using double-encoded URLs, gaining unauthorized access to protected routes such as /admin or /api/internal. The original fix for a similar issue (CVE-2025-64765) only decoded once, which is insufficient against double encoding. A secure fix involves rejecting requests with multi-level encoded characters by returning a 400 Bad Request error.
References
- github.com/withastro/astro/security/advisories/GHSA-ggxq-hp9w-j794 (opens in a new tab)
- github.com/withastro/astro/security/advisories/GHSA-whqg-ppgf-wp8c (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-64765 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-66202 (opens in a new tab)
- github.com/withastro/astro/commit/6f800813516b07bbe12c666a92937525fddb58ce (opens in a new tab)
- github.com/withastro/astro (opens in a new tab)