cve.bz

CVE-2026-73423 withastro astro: Cross Site Reference Forgery

5.1 mediumEPSS 0.3%Fix available

Medium (5.1) in withastro astro. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in astro 7.0.6.

On this page
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.

Severity

CVSS 4.0

5.1 medium
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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-08-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-352 Cross-Site Request Forgery (Cross Site Reference Forgery)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • astro (npm): fixed in 7.0.6

Ask an AI about this CVE

Show the promptExplain CVE-2026-73423 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-73423?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-73423?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-73423 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
withastro astro>= 7.0.0, < 7.0.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8mv7-9c27-98vcnpmastro>=7.0.0 <7.0.67.0.6

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw in Astro's composable `astro/hono` pipeline allows cross-site request forgery (CSRF) when `security.checkOrigin` is bypassed. Because origin validation is only registered within `middleware()`, placing `actions()` or `pages()` before `middleware()`—or omitting `middleware()` entirely—executes state-changing actions and endpoints prior to origin enforcement. A remote attacker can exploit this by tricking an authenticated user into submitting cross-origin requests, performing unauthorized write-only operations via `ActionHandler.handle` or `PagesHandler.handleWithErrorFallback`.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat OpenShift AI (RHOAI)rhoai/odh-feature-server-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-73423.

Attack patterns (CAPEC)

  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) Likelihood: High · Severity: High
  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-467 Cross Site Identification Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON