# CVE-2025-66202: Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2025-12-08T16:26:43.000Z
- Modified: 2026-10-07T20:10:01.970Z
- Also known as: GHSA-whqg-ppgf-wp8c
- Weaknesses: CWE-647
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- withastro astro: < 5.15.8
- astro (npm): before 5.15.8
- astro astro: before 5.15.8

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/withastro/astro/security/advisories/GHSA-whqg-ppgf-wp8c> (vendor-advisory, web)
- <https://github.com/withastro/astro/security/advisories/GHSA-ggxq-hp9w-j794> (not-applicable, web)
- <https://github.com/withastro/astro/commit/6f800813516b07bbe12c666a92937525fddb58ce> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64765> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66202> (advisory)
- <https://github.com/withastro/astro> (package)

## Sources

- CVE List: [CVE-2025-66202](https://www.cve.org/CVERecord?id=CVE-2025-66202), CVE Terms of Use, modified 2025-12-09
- GitHub Advisory Database: [GHSA-whqg-ppgf-wp8c](https://github.com/advisories/GHSA-whqg-ppgf-wp8c), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-66202](https://nvd.nist.gov/vuln/detail/CVE-2025-66202), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-66202 · Whole record: https://cve.day/CVE-2025-66202.json · Rebuilt by cve.day 2026-11-25T22:59:08.456Z
