Summary
Astro: Unauthenticated path override in the @astrojs/vercel ISR function
When ISR is enabled, the serverless entrypoint lets an unauthenticated request
decide which route the origin renders. The internal _isr function reads thex_astro_path query parameter and rewrites the request path to it without any
authentication. Edge level access controls only ever see the /_isr path, so
they do not apply to the route that actually gets rendered. This is the same
confused deputy problem as CVE-2026-33768, reachable again through the ISR path.
Details
packages/integrations/vercel/src/serverless/entrypoint.ts picks the real path
like this:
if (hasValidMiddlewareSecret) {
realPath = request.headers.get(ASTRO_PATH_HEADER); // secret checked
} else if (request.headers.get('x-vercel-isr') === '1') {
realPath = url.searchParams.get(ASTRO_PATH_PARAM); // no secret checked
}
The header path is gated by the per build secret and is fine. The ISR branch is
not. Two facts make it reachable by anyone:
- The
_isrfunction is publicly addressable. - Vercel sets
x-vercel-isr: 1on requests to it, including direct external
requests, so the attacker does not even need to send that header.
So GET /_isr?x_astro_path=/admin sets the internal path to /admin and renders
it. The edge saw only /_isr, which is allowed, so any path based rule on/admin never fires. In split deployments the edge middleware also runs against/_isr, and the origin does not run middleware at all, so middleware based auth
is skipped as well.
How this regressed
CVE-2026-33768 was fixed in 10.0.2 by commit 335a204161 (PR #15959), which
required the secret for every path override and removed the query parameter
source. Commit aa266364fe (PR #16079, "Fix ISR path rewrite to prevent 404")
brought the query parameter back, guarded only by the x-vercel-isr header. That
header is not a security boundary, so the fix was effectively undone for ISR
routes starting in 10.0.3.
Worth noting the contrast: the original report treated Edge Middleware as the
mitigation and scoped the issue to deployments without it. Here, for split
deployments, Edge Middleware is bypassed too, since the attacker reaches /_isr
directly and the middleware only sees /_isr while the origin runs none.
Proof of concept
- Create an Astro app with
output: 'server'and adaptervercel({ isr: true }). - Add a page at
/adminthat returns sensitive content. - Deny
/adminat the edge, for example a Vercel path rule that returns 403, or
a middleware auth check in a split (edgeMiddleware: true) build. - Request
/admin. It is blocked (403). - Request
/_isr?x_astro_path=/admin. It returns 200 with the admin content.
The response headerX-Vercel-Cache: MISSconfirms it was rendered fresh, not
served from an existing cache entry.
What is not affected
- Classic (non split) middleware. It runs inside the origin against the rewritten
path, so it still applies to the target route. - State changing requests. Vercel serves ISR functions for GET only, and returns
403 for POST, PUT and DELETE, so the method preserving variant of CVE-2026-33768
does not reproduce here. Impact is limited to reading (confidentiality). - Whole deployment protection (Vercel SSO or password), which also covers
/_isr.
Severity
Unauthenticated read of any GET rendered route that is protected only at the edge.
No integrity or availability impact because the vector is GET only.
Impact
This affects apps that use @astrojs/vercel with isr: true and protect routes
at the edge. Two common setups are affected:
- Path rules or firewall deny rules configured on Vercel (for example blocking
/admin). - Split deployments (
edgeMiddleware: true) where authorization lives in Astro
middleware, since that middleware runs at the edge and not in the origin.
An attacker reads any GET rendered route by requesting/_isr?x_astro_path=/the/protected/path. No credentials are required. The
protected content is produced by a fresh origin render, so the attack does not
depend on the response being cached first.
The application does not perform an authorization check before performing a sensitive operation. Typical impact: unauthorized access to restricted functionality or data.
CVE-2026-73424 has a CVSS score of 6.5 (Medium). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (11.0.3); upgrading removes the vulnerable code path.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
One option would be to require the secret again for path overrides, the way
PR #15959 did, so the ISR branch stops trusting the client supplied x_astro_path.
The 404 that PR #16079 was fixing would then need another approach that does not
rely on client input.
Frequently Asked Questions
- What is CVE-2026-73424? CVE-2026-73424 is a medium-severity missing authorization vulnerability in @astrojs/vercel (npm), affecting versions >= 10.0.3, < 11.0.3. It is fixed in 11.0.3. The application does not perform an authorization check before performing a sensitive operation.
- How severe is CVE-2026-73424? CVE-2026-73424 has a CVSS score of 6.5 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
- Which versions of @astrojs/vercel are affected by CVE-2026-73424? @astrojs/vercel (npm) versions >= 10.0.3, < 11.0.3 is affected.
- Is there a fix for CVE-2026-73424? Yes. CVE-2026-73424 is fixed in 11.0.3. Upgrade to this version or later.
- Is CVE-2026-73424 exploitable, and should I be worried? Whether CVE-2026-73424 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2026-73424 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2026-73424? Upgrade
@astrojs/vercelto 11.0.3 or later.