Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files
Summary
| CVE | CVE-2026-114126 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-21 18:17:25 UTC |
| Updated | 2026-10-21 18:17:25 UTC |
| 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. |
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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 8.7 | HIGH | 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/C... |
| 4.0 | CNA | DECLARED | 8.7 | HIGH | 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 |
CVSS v4.0 Breakdown
Attack Vector
AdjacentAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
NoneConfidentiality
HighIntegrity
HighAvailability
HighSub Conf.
LowSub Integrity
LowSub Availability
NoneCVSS: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
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.