Intel

AIKIDO-2026-219768

astro is vulnerable to Authorization Bypass

Authorization Bypass Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 24, 2026

59

Medium Risk

This Affects:

JSastro
6.4.4 - 7.1.0
Fixed in 7.1.1
Are you affected? Scan for Free

TL;DR

Astro derives the routing and middleware pathname for domain-based i18n requests without applying the duplicate-slash collapsing and over-encoding validation that are used on the standard request path. An unauthenticated attacker can send a request with duplicate leading slashes or multi-level percent-encoding to a domain-mapped host so that middleware or edge authorization evaluates a different path than the one that is actually routed and rendered. On deployments that rely on path-based authorization this allows those checks to be bypassed and protected routes to be reached. The fix normalizes the public pathname consistently and rejects over-encoded paths before routing runs.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use domain-based i18n routing together with middleware or edge path-based authorization.

Background info

astro is vulnerable to Authorization Bypass in versions 6.4.4 - 7.1.0.

How to fix this

Upgrade the astro library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform