CVE-2026-33768: withastro astro · Confused Deputy
Affects withastro astroSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 10.0.2 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 10.0.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade withastro astro to 10.0.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| withastroastro | Affected
| Fixed in
|
AI-suggested
To mitigate this vulnerability, organizations should upgrade all Astro framework instances to version 10.0.2 or later, where the issue is patched. Deployments on Vercel should enable Edge Middleware to enforce path restrictions at the edge, preventing unauthorized path rewrites. Review and strengthen access control mechanisms beyond relying solely on path-based firewall rules, incorporating authentication and authorization checks within application logic. Implement strict validation and sanitization of HTTP headers and query parameters, especially those influencing routing or internal path resolution. Monitor logs for suspicious requests containing x-astro-path headers or x_astro_path query parameters targeting sensitive endpoints. Consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block requests attempting to exploit this path rewriting behavior. Conduct security testing and code reviews to ensure no other unintended proxies or path overrides exist. Finally, educate development and operations teams about the risks of relying on client-controlled headers for internal routing decisions.
Description
CVE-2026-33768 is a medium severity vulnerability in the Astro web framework versions prior to 10.0.2. It involves an unintended proxy or 'confused deputy' issue where the @astrojs/vercel serverless entrypoint reads the x-astro-path header and x_astro_path query parameter to rewrite internal request paths without any authentication. This allows attackers to bypass platform-level path restrictions on Vercel deployments lacking Edge Middleware, enabling unauthorized access to restricted paths such as /admin. The vulnerability affects all HTTP methods, including POST, PUT, and DELETE, preserving the original method and body, which can lead to unauthorized actions. Firewall rules blocking sensitive paths are ineffective against requests exploiting this flaw. The issue has been patched in Astro version 10.0.2.
References
- github.com/withastro/astro/security/advisories/GHSA-mr6q-rp88-fx84 (opens in a new tab)
- github.com/withastro/astro/pull/15959 (opens in a new tab)
- github.com/withastro/astro/commit/335a204161f5a7293c128db570901d4f8639c6ed (opens in a new tab)
- github.com/withastro/astro/releases/tag/%40astrojs%2Fvercel%4010.0.2 (opens in a new tab)