[ CVE-2026-114126 · Published 21 Oct 2026 ]
Storybook dev server vulnerable to code injection from the local network
[ Description ]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.
[ Fixes ]Fixes and patches
- storybook 8.6.19Fixed version · GitHub Advisories · npm package storybook: upgrade to 8.6.19 or later (affected >= 8.0.0, < 8.6.19)
- storybook 9.1.21Fixed version · GitHub Advisories · npm package storybook: upgrade to 9.1.21 or later (affected >= 9.0.0, < 9.1.21)
- storybook 10.6.2Fixed version · GitHub Advisories · npm package storybook: upgrade to 10.6.2 or later (affected >= 10.0.0, < 10.6.2)
- storybook 11.0.0-alpha.6Fixed version · GitHub Advisories · npm package storybook: upgrade to 11.0.0-alpha.6 or later (affected >= 11.0.0-alpha.0, < 11.0.0-alpha.6)
- @storybook/core 8.6.19Fixed version · GitHub Advisories · npm package @storybook/core: upgrade to 8.6.19 or later (affected >= 8.0.0, < 8.6.19)
- @storybook/core-server 8.6.19Fixed version · GitHub Advisories · npm package @storybook/core-server: upgrade to 8.6.19 or later (affected >= 8.0.0, < 8.6.19)
- @storybook/experimental-addon-test 8.6.19Fixed version · GitHub Advisories · npm package @storybook/experimental-addon-test: upgrade to 8.6.19 or later (affected >= 8.0.0, < 8.6.19)
- @storybook/addon-vitest 9.1.21Fixed version · GitHub Advisories · npm package @storybook/addon-vitest: upgrade to 9.1.21 or later (affected >= 9.0.0, < 9.1.21)
- @storybook/addon-vitest 10.6.2Fixed version · GitHub Advisories · npm package @storybook/addon-vitest: upgrade to 10.6.2 or later (affected >= 10.0.0, < 10.6.2)
- @storybook/addon-vitest 11.0.0-alpha.6Fixed version · GitHub Advisories · npm package @storybook/addon-vitest: upgrade to 11.0.0-alpha.6 or later (affected >= 11.0.0-alpha.0, < 11.0.0-alpha.6)
- @storybook/addon-mcp 10.6.2Fixed version · GitHub Advisories · npm package @storybook/addon-mcp: upgrade to 10.6.2 or later (affected >= 10.6.0, < 10.6.2)
- @storybook/addon-mcp 11.0.0-alpha.6Fixed version · GitHub Advisories · npm package @storybook/addon-mcp: upgrade to 11.0.0-alpha.6 or later (affected >= 11.0.0-alpha.0, < 11.0.0-alpha.6)
[ Packages ]Affected open-source packages
- storybook npmAffected >= 8.0.0, < 8.6.19 · fixed in 8.6.19 · GHSA-px85-f4q5-jh77
- storybook npmAffected >= 9.0.0, < 9.1.21 · fixed in 9.1.21 · GHSA-px85-f4q5-jh77
- storybook npmAffected >= 10.0.0, < 10.6.2 · fixed in 10.6.2 · GHSA-px85-f4q5-jh77
- storybook npmAffected >= 11.0.0-alpha.0, < 11.0.0-alpha.6 · fixed in 11.0.0-alpha.6 · GHSA-px85-f4q5-jh77
- @storybook/core npmAffected >= 8.0.0, < 8.6.19 · fixed in 8.6.19 · GHSA-px85-f4q5-jh77
- @storybook/core-server npmAffected >= 8.0.0, < 8.6.19 · fixed in 8.6.19 · GHSA-px85-f4q5-jh77
- @storybook/experimental-addon-test npmAffected >= 8.0.0, < 8.6.19 · fixed in 8.6.19 · GHSA-px85-f4q5-jh77
- @storybook/addon-vitest npmAffected >= 9.0.0, < 9.1.21 · fixed in 9.1.21 · GHSA-px85-f4q5-jh77
- @storybook/addon-vitest npmAffected >= 10.0.0, < 10.6.2 · fixed in 10.6.2 · GHSA-px85-f4q5-jh77
- @storybook/addon-vitest npmAffected >= 11.0.0-alpha.0, < 11.0.0-alpha.6 · fixed in 11.0.0-alpha.6 · GHSA-px85-f4q5-jh77
- @storybook/addon-mcp npmAffected >= 10.6.0, < 10.6.2 · fixed in 10.6.2 · GHSA-px85-f4q5-jh77
- @storybook/addon-mcp npmAffected >= 11.0.0-alpha.0, < 11.0.0-alpha.6 · fixed in 11.0.0-alpha.6 · GHSA-px85-f4q5-jh77
[ References ]References
- github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da
- github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178
- github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5
- github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb
- github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e
- github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed
- github.com/storybookjs/storybook/pull/36726
- github.com/storybookjs/storybook/releases/tag/v10.6.2
- github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6
- github.com/storybookjs/storybook/releases/tag/v8.6.19
- github.com/storybookjs/storybook/releases/tag/v9.1.21
- github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77