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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | grafana12.4 | 12.4.13-0.3.hum1 | RHSA-2026:88478 |
| Red Hat Hardened Images 1 | grafana13.1 | 13.1.8-0.4.hum1 | RHSA-2026:88537 |
| Red Hat Hardened Images 1 | grafana13.2 | 13.2.4-0.3.hum1 | RHSA-2026:88541 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @storybook/addon-mcp | >= 10.6.0, < 10.6.2 | 10.6.2 | GHSA-px85-f4q5-jh77 |
| npm | @storybook/addon-mcp | >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | 11.0.0-alpha.6 | GHSA-px85-f4q5-jh77 |
| npm | @storybook/addon-vitest | >= 9.0.0, < 9.1.21 | 9.1.21 | GHSA-px85-f4q5-jh77 |
| npm | @storybook/addon-vitest | >= 10.0.0, < 10.6.2 | 10.6.2 | GHSA-px85-f4q5-jh77 |
| npm | @storybook/addon-vitest | >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | 11.0.0-alpha.6 | GHSA-px85-f4q5-jh77 |
| npm | @storybook/core | >= 8.0.0, < 8.6.19 | 8.6.19 | GHSA-px85-f4q5-jh77 |
| npm | @storybook/core-server | >= 8.0.0, < 8.6.19 | 8.6.19 | GHSA-px85-f4q5-jh77 |
| npm | @storybook/experimental-addon-test | >= 8.0.0, < 8.6.19 | 8.6.19 | GHSA-px85-f4q5-jh77 |
| npm | storybook | >= 8.0.0, < 8.6.19 | 8.6.19 | GHSA-px85-f4q5-jh77 |
| npm | storybook | >= 9.0.0, < 9.1.21 | 9.1.21 | GHSA-px85-f4q5-jh77 |
| npm | storybook | >= 10.0.0, < 10.6.2 | 10.6.2 | GHSA-px85-f4q5-jh77 |
| npm | storybook | >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | 11.0.0-alpha.6 | GHSA-px85-f4q5-jh77 |
Advisories 3
- RHSA-2026:88541 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:88537 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:88478 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
References
- https://github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77
- https://github.com/storybookjs/storybook/pull/36726
- https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da
- https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178
- https://github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5
- https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb
- https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e
- https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed
- https://github.com/storybookjs/storybook/releases/tag/v10.6.2
- https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6
- https://github.com/storybookjs/storybook/releases/tag/v8.6.19
- https://github.com/storybookjs/storybook/releases/tag/v9.1.21