{"id":"CVE-2026-114126","published":"2026-10-21T17:21:29Z","modified":"2026-10-28T01:28:25Z","title":"Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files","vendor":"storybookjs","product":"storybook","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00674,"percentile":0.47201,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/storybookjs/storybook/pull/36726","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/releases/tag/v10.6.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/releases/tag/v8.6.19","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/releases/tag/v9.1.21","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":9.44},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"storybookjs","affectedVersions":[{"vendor":"storybookjs","product":"storybook","versions":[">= 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"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-28T01:27:43.093819Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"storybook","vulnerableRanges":[">=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"],"patched":["8.6.19","9.1.21","10.6.2","11.0.0-alpha.6"],"from":["GHSA-px85-f4q5-jh77"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/core","vulnerableRanges":[">=8.0.0, <8.6.19"],"patched":["8.6.19"],"from":["GHSA-px85-f4q5-jh77"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/core-server","vulnerableRanges":[">=8.0.0, <8.6.19"],"patched":["8.6.19"],"from":["GHSA-px85-f4q5-jh77"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/experimental-addon-test","vulnerableRanges":[">=8.0.0, <8.6.19"],"patched":["8.6.19"],"from":["GHSA-px85-f4q5-jh77"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/addon-vitest","vulnerableRanges":[">=9.0.0, <9.1.21",">=10.0.0, <10.6.2",">=11.0.0-alpha.0, <11.0.0-alpha.6"],"patched":["9.1.21","10.6.2","11.0.0-alpha.6"],"from":["GHSA-px85-f4q5-jh77"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/addon-mcp","vulnerableRanges":[">=10.6.0, <10.6.2",">=11.0.0-alpha.0, <11.0.0-alpha.6"],"patched":["10.6.2","11.0.0-alpha.6"],"from":["GHSA-px85-f4q5-jh77"],"provenance":"source"}],"summary":{"text":"The Storybook development server, a frontend workshop tool for building UI components in isolation, can expose its WebSocket authentication token to clients that can load its HTML pages over the local network. An attacker on the same LAN with no authentication or user interaction required can obtain that token and invoke WebSocket-backed file-writing or testing functionality, including placing code into story files and, if the Vitest addon is installed alongside an outdated Vitest version, writing additional files or running commands with the developer's privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:10Z"},"euvd":{"id":"EUVD-2026-107408","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-68429","published":"2025-12-17","fixed":"10.1.10","kev":false},{"cve":"CVE-2026-27148","published":"2026-02-25","fixed":"10.2.10","kev":false,"link":{"from":"CVE-2026-27148","to":"CVE-2026-114126","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:storybook","fromFixed":"8.6.17","toFixed":"8.6.19","daysApart":238},{"kind":"version-step","provenance":"source","package":"npm:storybook","fromFixed":"9.1.19","toFixed":"9.1.21","daysApart":238}]}},{"cve":"CVE-2026-114125","published":"2026-10-21","fixed":"11.0.0-alpha.6","kev":false},{"cve":"CVE-2026-114126","published":"2026-10-21","fixed":"11.0.0-alpha.6","kev":false}],"package":"npm:storybook"}}