Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files (storybookjs storybook)

CVE-2026-114126
HIGH 8.7

En bref

Source
NVD
EPSS
EPSS 0.53 % · centile 46 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
GitHub_M
Produits affectés
storybookjs · storybook
Statut NVD
Awaiting Analysis

Description

Storybook is a frontend workshop for building user interface components and pages in isolation. From 8.0.0 until 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6, the Storybook development server can expose its WebSocket authentication token to clients able to load its HTML pages over a local network. A LAN attacker can obtain the token and invoke WebSocket-backed file-writing or testing functionality. Weak story-write validation can allow code to be placed in story files. If the Storybook Vitest addon is installed with an old version of Vitest, the payload can use a Vitest API to write additional files or execute commands. Depending on the payload and local tooling, the attack can lead to code execution with the developer's privileges. This issue is fixed in 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6.

Faiblesses (CWE)

  • CWE-22 — Traversée de répertoire
  • CWE-94 — Injection de code
  • CWE-306 — Authentification absente sur une fonction critique

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 4.0HIGH 8.7CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:NGitHub_M
CVSS 4.0HIGH 8.7CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/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:XNVD · security-advisories@github.com (Secondary)

Avis

Références européennes

Produits affectés

ProduitVersions affectées
storybookjs · storybook
affectée : >= 8.0.0, < 8.6.19
affectée : >= 9.0.0, < 9.1.21
affectée : >= 10.0.0, < 10.6.2
affectée : >= 11.0.0-alpha.0, < 11.0.0-alpha.6

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD