Skip to main content
← All vulnerabilities
CVE-2026-114126GHSA-PX85-F4Q5-JH77

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  4. Record last updated

Affected versions

  • storybookjs storybook

    From 8.0.0 · fixed in 8.6.19; From 9.0.0 · fixed in 9.1.21; From 10.0.0 · fixed in 10.6.2; From 11.0.0-alpha.0 · fixed in 11.0.0-alpha.6

  • storybooknpm

    From 8.0.0 · fixed in 8.6.19

  • storybooknpm

    From 9.0.0 · fixed in 9.1.21

  • storybooknpm

    From 10.0.0 · fixed in 10.6.2

  • storybooknpm

    From 11.0.0-alpha.0 · fixed in 11.0.0-alpha.6

  • @storybook/corenpm

    From 8.0.0 · fixed in 8.6.19

  • @storybook/core-servernpm

    From 8.0.0 · fixed in 8.6.19

  • @storybook/experimental-addon-testnpm

    From 8.0.0 · fixed in 8.6.19

  • @storybook/addon-vitestnpm

    From 9.0.0 · fixed in 9.1.21

  • @storybook/addon-vitestnpm

    From 10.0.0 · fixed in 10.6.2

  • @storybook/addon-vitestnpm

    From 11.0.0-alpha.0 · fixed in 11.0.0-alpha.6

  • @storybook/addon-mcpnpm

    From 10.6.0 · fixed in 10.6.2

  • @storybook/addon-mcpnpm

    From 11.0.0-alpha.0 · fixed in 11.0.0-alpha.6

References 12

GitHub · storybookjs/storybook