Vulnerability · Published Oct 21, 2026 · Assigned by GitHub_M

CVE-2026-114126Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files

High 8.7

In plain English

A high-severity path traversal in storybook from storybookjs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.5%top 55.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@storybook/addon-mcp10.6.2GHSA-px85-f4q5-jh77
npm@storybook/addon-mcp11.0.0-alpha.6GHSA-px85-f4q5-jh77
npm@storybook/addon-vitest11.0.0-alpha.6GHSA-px85-f4q5-jh77
npm@storybook/addon-vitest9.1.21GHSA-px85-f4q5-jh77
npm@storybook/addon-vitest10.6.2GHSA-px85-f4q5-jh77
npm@storybook/core8.6.19GHSA-px85-f4q5-jh77
npm@storybook/core-server8.6.19GHSA-px85-f4q5-jh77
npm@storybook/experimental-addon-test8.6.19GHSA-px85-f4q5-jh77
npmstorybook8.6.19GHSA-px85-f4q5-jh77
npmstorybook11.0.0-alpha.6GHSA-px85-f4q5-jh77
npmstorybook10.6.2GHSA-px85-f4q5-jh77
npmstorybook9.1.21GHSA-px85-f4q5-jh77

Affected products (as reported)

VendorProductVersions
storybookjs storybook >= 8.0.0, < 8.6.19>= 9.0.0, < 9.1.21>= 10.0.0, < 10.6.2>= 11.0.0-alpha.0, < 11.0.0-alpha.6

Weakness: CWE-22, CWE-94, CWE-306 · Vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N

References