{"id":"CVE-2026-73423","published":"2026-08-12T20:35:32Z","modified":"2026-08-13T17:53:25Z","title":"Astro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()` is absent or misordered","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00264,"percentile":0.11383,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-8mv7-9c27-98vc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/17250","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/0b30b35f864310bee8485c952d1877e82e2b9b1a","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/astro@7.0.6","tags":["x_refsource_MISC"]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":2.28},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":[">= 7.0.0, < 7.0.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-13T17:49:22.329880Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"astro","vulnerableRanges":[">=7.0.0, <7.0.6"],"patched":["7.0.6"],"from":["GHSA-8mv7-9c27-98vc"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-57608","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-withastro-astro-cve-2024-56140","parents":[{"from":"CVE-2024-56140","to":"CVE-2026-73423","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/astro/src/core/app/middlewares.ts"],"commits":["https://github.com/withastro/astro/commit/e7d14c374b9d45e27089994a4eb72186d05514de","https://github.com/withastro/astro/commit/0b30b35f864310bee8485c952d1877e82e2b9b1a"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-59731","published":"2026-07-08","fixed":"6.4.8","kev":false},{"cve":"CVE-2026-59727","published":"2026-07-27","fixed":"7.0.4","kev":false,"link":{"from":"CVE-2026-59727","to":"CVE-2026-73423","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"7.0.4","toFixed":"7.0.6","daysApart":16}]}},{"cve":"CVE-2026-59729","published":"2026-07-27","fixed":"7.0.6","kev":false},{"cve":"CVE-2026-73423","published":"2026-08-12","fixed":"7.0.6","kev":false},{"cve":"CVE-2026-73422","published":"2026-08-12","fixed":"7.1.0","kev":false,"link":{"from":"CVE-2026-73423","to":"CVE-2026-73422","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"7.0.6","toFixed":"7.1.0","daysApart":0}]}},{"cve":"CVE-2026-84376","published":"2026-09-02","fixed":"7.2.4","kev":false},{"cve":"CVE-2026-114128","published":"2026-10-21","fixed":"7.3.2","kev":false}],"package":"npm:astro"}}