Intel

AIKIDO-2026-750327

@astrojs/vercel is vulnerable to Authorization Bypass

Authorization BypassGHSA-x27w-589x-frm2 Published 3 days ago

58

Medium Risk

This Affects:

JS@astrojs/vercel
10.0.3 - 11.0.2
Fixed in 11.0.3
Are you affected? Scan for Free

TL;DR

The @astrojs/vercel serverless adapter exposes an internal _isr function that rewrites the request path from the client-supplied x_astro_path query parameter without any authentication when ISR is enabled. Because edge access controls and split-deployment middleware only ever evaluate the /_isr path, an unauthenticated attacker can request /_isr?x_astro_path=/protected to make the origin freshly render and return any GET route that is protected only at the edge. A prior fix required a trusted secret for path overrides, but a later change that prevented ISR 404s reintroduced the query-parameter source guarded only by a non-security header. The patch stops trusting the client-supplied path for ISR path overrides.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you have ISR enabled and protect routes at the edge.

Background info

@astrojs/vercel is vulnerable to Authorization Bypass in versions 10.0.3 - 11.0.2.

How to fix this

Upgrade the @astrojs/vercel library to the patch version.