Skip to content

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

MediumCVSS 5.1 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

3 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/rhoai/odh-feature-server-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
npm astro(npm) >= 7.0.0, < 7.0.6 7.0.6 Fixed
withastro astro = >= 7.0.0, < 7.0.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
withastro astro = >= 7.0.0, < 7.0.6 No fix listed
redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) All versions No fix listed
npm astro(npm) >= 7.0.0, < 7.0.6 7.0.6

References