CVE-2026-114126: Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files
Vulnerability summary
CVE-2026-114126 is a high (CVSS 8.7) vulnerability in storybookjs storybook. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 45.6% of scored vulnerabilities.
Not severe (CVSS 8.7, adjacent network); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3Timeline
- 21-10-2026PublishedVulnerability first disclosed.
- 28-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST8.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/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
- OSV · NpmEcosystem advisory · calculated8.7HighCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-94Improper Control of Generation of CodeThe product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-306Missing Authentication for Critical FunctionalityThe product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Affected systems
Known conditions: adjacent network, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
@storybook5 products
- addon-mcp≥ 10.6.0, < 10.6.2 | ≥ 11.0.0-alpha.0, < 11.0.0-alpha.6
- addon-vitest≥ 9.0.0, < 9.1.21 | ≥ 10.0.0, < 10.6.2 | ≥ 11.0.0-alpha.0, < 11.0.0-alpha.6
- core≥ 8.0.0, < 8.6.19
- core-server≥ 8.0.0, < 8.6.19
- experimental-addon-test≥ 8.0.0, < 8.6.19
Npm1 product
- 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
Storybookjs1 product
- 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
3 vendors · 7 products