1. Accueil
  2. Vulnérabilités
  3. CVE-2026-133273

CVE-2026-133273

@fastify/swagger-ui vulnerable to documentation authentication bypass via the unprotected /static route

Publiée le 21 nov. 2026 · modifiée le 23 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 26/100

Résumé

@fastify/swagger-ui is the plugin that serves Swagger UI documentation for Fastify applications. In versions 2.1.0 through 6.1.4, the authentication hooks that applications register to protect the documentation are applied to every route the plugin adds except the bundled static asset instance. When the option that serves bundled UI files from a local directory is enabled, that instance exposes every file in the directory without credentials, so a specification file an operator meant to keep behind the documentation login becomes reachable by an unauthenticated client who knows or guesses its name. Access is read-only and limited to files in that directory. The issue is fixed in @fastify/swagger-ui 6.1.5, which applies the same authentication hooks to the static asset route, and users should upgrade to 6.1.5 or later.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

@fastify/swagger-ui (1 ligne(s))
@fastify/swagger-ui
ProduitVersionsCorrigé dansSource
@fastify/swagger-ui de 2.1.0 (inclus) à 6.1.5 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1, CNA:openjs)
Faiblesse
CWE-288 · Authentification / contrôle d'accès

Comment sont obtenues et calculées ces données