Bug 2514979 (CVE-2026-73423)

Summary: CVE-2026-73423 astro: Astro: Cross-site Request Forgery (CSRF) due to origin check bypass in `astro/hono` pipeline
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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. A remote attacker can exploit this vulnerability by sending specially crafted cross-origin requests, leading to blind write-only cross-site request forgery (CSRF). This allows the attacker to trigger unintended state-mutating actions or endpoint handlers using a victim's authenticated session.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2523526    
Bug Blocks:    

Description OSIDB Bzimport 2026-08-12 20:41:30 UTC
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.