Astro: Unauthenticated path override in the @astrojs/vercel ISR function
A vulnerability in @astrojs/vercel's ISR function allows unauthenticated attackers to override the rendered path via a query parameter, bypassing edge-level access controls. This affects applications using ISR with protected routes at the edge, enabling attackers to read any GET-rendered route without credentials. The issue arises because the internal ISR function trusts the client-supplied 'x_astro_path' query parameter without authentication, while edge protections only see the ISR path. The vulnerability impacts versions >=10.0.3 and <11.0.3 and has a CVSS score of 6.5 (medium severity). A patch is available to require a secret for path overrides again, restoring the original security boundary.
AI Analysis
Technical Summary
When ISR (Incremental Static Regeneration) is enabled in @astrojs/vercel versions >=10.0.3 and <11.0.3, the serverless entrypoint exposes an unauthenticated path override vulnerability. The internal '_isr' function reads the 'x_astro_path' query parameter and rewrites the request path without verifying a secret, allowing attackers to specify arbitrary routes to be rendered by the origin. Edge-level access controls only see the '/_isr' path and thus do not apply to the actual rendered route, enabling unauthorized access to protected content. This is a regression of CVE-2026-33768 caused by a commit that reintroduced the query parameter without proper authentication. The vulnerability affects setups that protect routes at the edge via path rules or middleware in split deployments. Only GET requests are affected, limiting the impact to confidentiality without integrity or availability concerns.
Potential Impact
Attackers can read any GET-rendered route protected only by edge-level controls or edge middleware by requesting '/_isr?x_astro_path=/protected/path' without authentication. This bypasses path-based deny rules and middleware authorization checks that run only at the edge, exposing sensitive content. The origin renders the content fresh on each request, so cached responses are not required. There is no impact on state-changing requests or deployments with whole-deployment protection such as Vercel SSO. The vulnerability compromises confidentiality but not integrity or availability.
Mitigation Recommendations
A patch is available that restores the requirement for a secret to authorize path overrides in the ISR function, preventing unauthenticated use of the 'x_astro_path' parameter. Users should upgrade to a fixed version (>=11.0.3) once released or apply vendor-provided patches. Until then, consider disabling ISR or protecting the '/_isr' path with authentication mechanisms that cover this endpoint. Edge-level protections alone are insufficient. Monitor vendor advisories for official fixes and guidance.
Astro: Unauthenticated path override in the @astrojs/vercel ISR function
Description
A vulnerability in @astrojs/vercel's ISR function allows unauthenticated attackers to override the rendered path via a query parameter, bypassing edge-level access controls. This affects applications using ISR with protected routes at the edge, enabling attackers to read any GET-rendered route without credentials. The issue arises because the internal ISR function trusts the client-supplied 'x_astro_path' query parameter without authentication, while edge protections only see the ISR path. The vulnerability impacts versions >=10.0.3 and <11.0.3 and has a CVSS score of 6.5 (medium severity). A patch is available to require a secret for path overrides again, restoring the original security boundary.
CVSS v3.1
Score 6.5medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
When ISR (Incremental Static Regeneration) is enabled in @astrojs/vercel versions >=10.0.3 and <11.0.3, the serverless entrypoint exposes an unauthenticated path override vulnerability. The internal '_isr' function reads the 'x_astro_path' query parameter and rewrites the request path without verifying a secret, allowing attackers to specify arbitrary routes to be rendered by the origin. Edge-level access controls only see the '/_isr' path and thus do not apply to the actual rendered route, enabling unauthorized access to protected content. This is a regression of CVE-2026-33768 caused by a commit that reintroduced the query parameter without proper authentication. The vulnerability affects setups that protect routes at the edge via path rules or middleware in split deployments. Only GET requests are affected, limiting the impact to confidentiality without integrity or availability concerns.
Potential Impact
Attackers can read any GET-rendered route protected only by edge-level controls or edge middleware by requesting '/_isr?x_astro_path=/protected/path' without authentication. This bypasses path-based deny rules and middleware authorization checks that run only at the edge, exposing sensitive content. The origin renders the content fresh on each request, so cached responses are not required. There is no impact on state-changing requests or deployments with whole-deployment protection such as Vercel SSO. The vulnerability compromises confidentiality but not integrity or availability.
Mitigation Recommendations
A patch is available that restores the requirement for a secret to authorize path overrides in the ISR function, preventing unauthenticated use of the 'x_astro_path' parameter. Users should upgrade to a fixed version (>=11.0.3) once released or apply vendor-provided patches. Until then, consider disabling ISR or protecting the '/_isr' path with authentication mechanisms that cover this endpoint. Edge-level protections alone are insufficient. Monitor vendor advisories for official fixes and guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-x27w-589x-frm2
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a77432bbf8831d539b4608d
Added to database: 08/08/2026, 14:54:35 UTC
Last enriched: 08/08/2026, 15:38:27 UTC
Last updated: 08/09/2026, 00:44:09 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.