Medium [CVE-2026-73423] Cross-site Request Forgery (CSRF) due to origin check bypass in `astro/hono` pipeline
This medium-severity Red Hat Linux advisory covers CVE-2026-73423 affecting Red Hat OpenShift AI (RHOAI).
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
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.
A flaw was found in Astro. The composable `astro/hono` pipeline can bypass origin checks, which are designed to prevent unauthorized cross-site requests.
This occurs because the `security.checkOrigin` mechanism is not consistently applied when `middleware()` is absent or misordered in the pipeline.
Affected product named by the advisory: Red Hat OpenShift AI (RHOAI).
- 7.0.0
Official advisory · high-confidence parse· fetched 2 hours ago·verify at source
Mitigation checklist
- Reorder the `astro/hono` pipeline within the Hono application to mount `middleware()` prior to calling `actions()` or `pages()`, ensuring `security.checkOrigin` enforces validation before any endpoint or action handler executes.
Official advisory · high-confidence parse· fetched 2 hours ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.