CVE-2026-73423
MEDIUM 5.1CVSS 4.0Astro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()` is absent or misordered
Astro is a web framework for content-driven websites. From 7.0.0 until 7.0.6, the composable astro/hono pipeline installs security.checkOrigin only through the middleware() primitive, while actions() and pages() can dispatch to user code independently. Mounting actions() before middleware(), as in the examples/advanced-routing example and Cloudflare Hono documentation, allows cross-origin form-encoded action requests to execute before the origin check, and using pages() without middleware() drops the check for on-demand endpoints and pages. The flaw enables blind write-only cross-site request forgery using the victim's cookies against ActionHandler.handle and PagesHandler.handleWithErrorFallback when manifest.checkOrigin is enabled; the attacker can trigger a state-mutating action or endpoint handler but cannot read the cross-origin response. The default non-composable astro() pipeline is not affected. This issue is fixed in version 7.0.6.
- Published
- 12 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-352
- Also known as
- GHSA-8mv7-9c27-98vc
- Sources
- NVDJSONOSV GHSA-8mv7-9c27-98vcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | astro | >= 7.0.0, < 7.0.6 | 7.0.6 |
References
- https://github.com/withastro/astro/commit/0b30b35f864310bee8485c952d1877e82e2b9b1a · WEB
- https://github.com/withastro/astro/pull/17250 · WEB
- https://github.com/withastro/astro/releases/tag/astro@7.0.6 · WEB
- https://github.com/withastro/astro/security/advisories/GHSA-8mv7-9c27-98vc · WEB
- https://github.com/withastro/astro · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 12 Aug 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 20 Jul 2026)