CVE-2025-66202
MEDIUM 6.5CVSS 3.1Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765
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.
- Published
- 9 Dec 2025
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-647
- Also known as
- GHSA-whqg-ppgf-wp8c
- Sources
- NVDJSONOSV GHSA-whqg-ppgf-wp8cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | astro | astrocpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:* |
< 5.15.8 | 5.15.8 |
| OSV | npm | astro | < 5.15.8 | 5.15.8 |
References
- https://github.com/withastro/astro/commit/6f800813516b07bbe12c666a92937525fddb58ce · Patch, WEB
- https://github.com/withastro/astro/security/advisories/GHSA-ggxq-hp9w-j794 · Not Applicable, WEB
- https://github.com/withastro/astro/security/advisories/GHSA-whqg-ppgf-wp8c · Vendor Advisory, 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
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 9 Dec 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Dec 2025)