1. Archivio CVE
  2. 2026
  3. CVE-2026-84376

CVE-2026-84376

6.3 Gravità media CVSS v4.0 · fonte NVD CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 6.3 – Media

Descrizione

Astro is a web framework for content-driven websites. Prior to 7.2.4, Astro stripped a configured non-root base path from request pathnames using a string-prefix check without verifying a path-segment boundary. With base "/app", a request to "/appX/admin" resolved internally to the protected "/admin" route while middleware observed "/appX/admin" in context.url.pathname. In applications that authorize base-prefixed routes by inspecting context.url.pathname, an unauthenticated remote attacker could bypass pathname-based middleware authorization and reach protected routes. This issue is fixed in version 7.2.4.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
withastro astro < 7.2.4 –
Tutte le 22 vulnerabilità di Withastro Astro

Tipo di vulnerabilità

CWE-187 Partial String Comparison

The product performs a string comparison that only examines a portion of the string before determining whether there is a match.

Impatto sui sistemi

AmbitoImpatto
Integrità, Controllo degli accessi Alterare la logica di esecuzione, Aggirare i meccanismi di protezione

Come si previene

Test Thoroughly test the comparison scheme before deploying code into production. Perform positive testing as well as negative testing.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 19 CVE di tipo CWE-187, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org