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

Summary

CVECVE-2026-114126
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-21 18:17:25 UTC
Updated2026-10-21 18:17:25 UTC
DescriptionStorybook 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.

Risk And Classification

Primary CVSS: v4.0 8.7 HIGH from [email protected]

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-22 | CWE-94 | CWE-306 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') | CWE-306 CWE-306: Missing Authentication for Critical Function


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary8.7HIGHCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N/E:X/C...
4.0CNADECLARED8.7HIGHCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N

CVSS v4.0 Breakdown

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality
High
Integrity
High
Availability
High
Sub Conf.
Low
Sub Integrity
Low
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Storybookjs Storybook affected >= 8.0.0, < 8.6.19 Not specified
CNA Storybookjs Storybook affected >= 9.0.0, < 9.1.21 Not specified
CNA Storybookjs Storybook affected >= 10.0.0, < 10.6.2 Not specified
CNA Storybookjs Storybook affected >= 11.0.0-alpha.0, < 11.0.0-alpha.6 Not specified

References

ReferenceSourceLinkTags
github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7... [email protected] github.com
github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77 [email protected] github.com
github.com/storybookjs/storybook/releases/tag/v8.6.19 [email protected] github.com
github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6 [email protected] github.com
github.com/storybookjs/storybook/releases/tag/v10.6.2 [email protected] github.com
github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b... [email protected] github.com
github.com/storybookjs/storybook/releases/tag/v9.1.21 [email protected] github.com
github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee... [email protected] github.com
github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea10026... [email protected] github.com
github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e... [email protected] github.com
github.com/storybookjs/storybook/pull/36726 [email protected] github.com
github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2... [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report