{"id":"CVE-2026-73423","state":"PUBLISHED","title":"Astro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()` is absent or misordered","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.","publishedAt":"2026-08-12T20:35:32.181Z","updatedAt":"2026-08-13T17:53:25.469Z","severity":{"score":5.1,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["withastro astro"],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":">= 7.0.0, < 7.0.6","status":"affected"}]}],"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"],"weaknesses":["CWE-352"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/73xxx/CVE-2026-73423.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-73423","state":"PUBLISHED","datePublished":"2026-08-12T20:35:32.181Z","dateUpdated":"2026-08-13T17:53:25.469Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-12T14:32:11.795Z"},"containers":{"cna":{"title":"Astro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()` is absent or misordered","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":">= 7.0.0, < 7.0.6","status":"affected"}]}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-8mv7-9c27-98vc","name":"https://github.com/withastro/astro/security/advisories/GHSA-8mv7-9c27-98vc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/17250","name":"https://github.com/withastro/astro/pull/17250","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/0b30b35f864310bee8485c952d1877e82e2b9b1a","name":"https://github.com/withastro/astro/commit/0b30b35f864310bee8485c952d1877e82e2b9b1a","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/astro@7.0.6","name":"https://github.com/withastro/astro/releases/tag/astro@7.0.6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":5.1,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-12T20:35:32.181Z"},"source":{"advisory":"GHSA-8mv7-9c27-98vc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-13T17:49:22.329880Z","id":"CVE-2026-73423","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-13T17:53:25.469Z"}}]}}}