p PatchFirst

CVE-2026-54286

CVE-2026-54286 · Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, on Windows hosts, an encoded backslash (%5C) in the request path decodes to \, which the Windows path resolver treats as a separator. serve-static then resolves a single URL segment such as admin\secret.txt into a nested file under the root and serves it, letting an attacker read static files meant to be protected behind prefix-mounted middleware. This vulnerability is fixed in 4.12.25.

CVSS 5.9 · Moyenne · EPSS 0,4% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • hono

    Versions du logiciel
    • < 4.12.25: Concernée

    Aucun correctif publié

  • hono npm

    Plages de versions concernées
    • SEMVER: < 4.12.25

    Mettez à jour vers 4.12.25

Sources originales

Vérifiez votre serveur →