CVE-2026-114126
Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files
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.
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.7
Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files
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.
- Record
CVE-2026-114126- CVSS 4.0
- 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 - Weakness
- CWE-22, CWE-94, CWE-306
- Updated
- 2026-11-02
EUVDEUVD-2026-107408
8.7
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.
- Record
EUVD-2026-107408- CVSS 4.0
- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-px85-f4q5-jh77
8.7
Storybook dev server vulnerable to code injection from the local network
Summary: The Storybook dev server exposes its WebSocket authentication token to any client that can load its HTML pages. Any host on a LAN can open a Storybook app by IP address, and therefore obtain the token. The WebSocket can be used to inject code into story files or to create new files. Under the right circumstances, an attacker can execute code on the machine of a developer connected on the same LAN.
Who is impacted?
You are impacted if you run a Storybook dev server whilst connected on an untrusted local network, or to a WiFi access point posing as a trusted network. The impact of this advisory is more important if you have the Vitest addon installed and are using an old version of Vitest.
You are not impacted if:
- You run a dev server in an environment that other devices on your network cannot reach (e.g. a container that does not publish the Storybook port, or publishes it only on
127.0.0.1) - You run a dev server whilst connected to a trusted local network
- You serve a built version of Storybook on your machine
Recommended actions
Upgrade Storybook
Storybook has released patched versions of all affected major Storybook versions that fix all the vulnerabilities necessary for the worst-case scenario above to occur.
Upgrade to a patched version listed below before running storybook dev again. If you cannot upgrade immediately, do not run an affected Storybook dev server until you can apply the fix.
- 11.0.0-alpha.6
- 10.6.2
- 9.1.21
- 8.6.19
Review potentially breaking changes
Due to the exceptional nature of the reported vulnerabilities, the Storybook team has decided to change the default behavior of Storybook, including versions 8 and 9, for several network-related features that are not essential to most Storybook users' workflow. If your team relies on the affected features, this document explains how to fall back to the previous behavior.
Storybook now only listens on 127.0.0.1 by default
By default, the Storybook dev server no longer binds to all network interfaces on your machine. It only binds to the loopback address 127.0.0.1. You can still open it at http://localhost:6006. This prevents other devices on the same network from seeing your Storybook server.
To share a Storybook with others, consider publishing it to Chromatic (free). To share it on a LAN without exposing the dev server, build a static Storybook with storybook build and serve the output folder with any static file server.
To share a live Storybook running in dev mode, you can use the --host CLI option to bind to the LAN IP you want to share Storybook on, e.g. storybook dev --host 192.168.0.110. Host and origin validation stays enabled with this option. If you use --host 0.0.0.0 instead, also set core.allowedHosts to the hostnames you will use. Without it, host and origin validation is disabled, and Storybook shows a warning and asks you to confirm before it starts.
Consider using a firewall to restrict incoming packets to known colleague IPs, and avoid using --host on an untrusted WiFi network.
The Vitest addon now disables browser.api.allowWrite and browser.api.allowExec
Storybook no longer allows code running in Vitest Browser mode to write to the developer’s machine or execute other processes. In the unlikely scenario that you rely on this capability in your tests, you can manually re-enable these APIs in your Vitest config.
The saveStoryRequest event validates input more strictly
Storybook strengthened input validation in saveStoryRequest, so addons and the Storybook UI can now only write serialized args and story titles. It is no longer possible to exploit input validation weaknesses to e.g. write play functions with a custom addon.
If you develop an addon that writes or edits files on users’ behalf, reach out to the Storybook team to get advice on security best practice.
Disclosure timeline
On August 19th, the Storybook team received a…
- Record
GHSA-px85-f4q5-jh77- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-22, CWE-94, CWE-306, CWE-1188
- Updated
- 2026-11-02
NVD
8.7
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.
- Record
CVE-2026-114126- CVSS 4.0
- 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/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 - Weakness
- CWE-22, CWE-94, CWE-306
- Updated
- 2026-11-02
OSV
8.7
Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files
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.
- Record
CVE-2026-114126- CVSS 4.0
- 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 - Weakness
- CWE-22, CWE-306, CWE-94
- Updated
- 2026-11-02
OSVGHSA-px85-f4q5-jh77
8.7
Storybook dev server vulnerable to code injection from the local network
Summary: The Storybook dev server exposes its WebSocket authentication token to any client that can load its HTML pages. Any host on a LAN can open a Storybook app by IP address, and therefore obtain the token. The WebSocket can be used to inject code into story files or to create new files. Under the right circumstances, an attacker can execute code on the machine of a developer connected on the same LAN.
Who is impacted?
You are impacted if you run a Storybook dev server whilst connected on an untrusted local network, or to a WiFi access point posing as a trusted network. The impact of this advisory is more important if you have the Vitest addon installed and are using an old version of Vitest.
You are not impacted if:
- You run a dev server in an environment that other devices on your network cannot reach (e.g. a container that does not publish the Storybook port, or publishes it only on
127.0.0.1) - You run a dev server whilst connected to a trusted local network
- You serve a built version of Storybook on your machine
Recommended actions
Upgrade Storybook
Storybook has released patched versions of all affected major Storybook versions that fix all the vulnerabilities necessary for the worst-case scenario above to occur.
Upgrade to a patched version listed below before running storybook dev again. If you cannot upgrade immediately, do not run an affected Storybook dev server until you can apply the fix.
- 11.0.0-alpha.6
- 10.6.2
- 9.1.21
- 8.6.19
Review potentially breaking changes
Due to the exceptional nature of the reported vulnerabilities, the Storybook team has decided to change the default behavior of Storybook, including versions 8 and 9, for several network-related features that are not essential to most Storybook users' workflow. If your team relies on the affected features, this document explains how to fall back to the previous behavior.
Storybook now only listens on 127.0.0.1 by default
By default, the Storybook dev server no longer binds to all network interfaces on your machine. It only binds to the loopback address 127.0.0.1. You can still open it at http://localhost:6006. This prevents other devices on the same network from seeing your Storybook server.
To share a Storybook with others, consider publishing it to Chromatic (free). To share it on a LAN without exposing the dev server, build a static Storybook with storybook build and serve the output folder with any static file server.
To share a live Storybook running in dev mode, you can use the --host CLI option to bind to the LAN IP you want to share Storybook on, e.g. storybook dev --host 192.168.0.110. Host and origin validation stays enabled with this option. If you use --host 0.0.0.0 instead, also set core.allowedHosts to the hostnames you will use. Without it, host and origin validation is disabled, and Storybook shows a warning and asks you to confirm before it starts.
Consider using a firewall to restrict incoming packets to known colleague IPs, and avoid using --host on an untrusted WiFi network.
The Vitest addon now disables browser.api.allowWrite and browser.api.allowExec
Storybook no longer allows code running in Vitest Browser mode to write to the developer’s machine or execute other processes. In the unlikely scenario that you rely on this capability in your tests, you can manually re-enable these APIs in your Vitest config.
The saveStoryRequest event validates input more strictly
Storybook strengthened input validation in saveStoryRequest, so addons and the Storybook UI can now only write serialized args and story titles. It is no longer possible to exploit input validation weaknesses to e.g. write play functions with a custom addon.
If you develop an addon that writes or edits files on users’ behalf, reach out to the Storybook team to get advice on security best practice.
Disclosure timeline
On August 19th, the Storybook team received a…
- Record
GHSA-px85-f4q5-jh77- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-1188, CWE-22, CWE-306, CWE-94
- Updated
- 2026-11-02
Show 4 moreShow less
OSVCLSA-2026-1793349137 No score
TuxCare security update for storybook (2 CVEs)
TuxCare rebuilt storybook to address 2 CVEs. Fixed in 8.5.8-tuxcare.5.
- Record
CLSA-2026-1793349137- Updated
- 2026-11-02
OSVCLSA-2026-1793360914 No score
TuxCare security update for storybook (2 CVEs)
TuxCare rebuilt storybook to address 2 CVEs. Fixed in 10.1.9-tuxcare.2.
- Record
CLSA-2026-1793360914- Updated
- 2026-11-02
OSVCLSA-2026-1793362275 No score
TuxCare security update for storybook (2 CVEs)
TuxCare rebuilt storybook to address 2 CVEs. Fixed in 9.1.16-tuxcare.3.
- Record
CLSA-2026-1793362275- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2026-114126 No score
CVE-2026-114126 in storybook - Patched by Root
Root has patched CVE-2026-114126 in the storybook package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2026-114126- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
storybooknpm |
8.0.0 up to 8.6.19 | 8.6.19 |
storybooknpm |
9.0.0 up to 9.1.21 | 9.1.21 |
storybooknpm |
10.0.0 up to 10.6.2 | 10.6.2 |
storybooknpm |
11.0.0-alpha.0 up to 11.0.0-alpha.6 | 11.0.0-alpha.6 |
@storybook/corenpm |
8.0.0 up to 8.6.19 | 8.6.19 |
@storybook/core-servernpm |
8.0.0 up to 8.6.19 | 8.6.19 |
@storybook/experimental-addon-testnpm |
8.0.0 up to 8.6.19 | 8.6.19 |
@storybook/addon-vitestnpm |
9.0.0 up to 9.1.21 | 9.1.21 |
@storybook/addon-vitestnpm |
10.0.0 up to 10.6.2 | 10.6.2 |
@storybook/addon-vitestnpm |
11.0.0-alpha.0 up to 11.0.0-alpha.6 | 11.0.0-alpha.6 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
@storybook/addon-mcpnpm |
10.6.0 up to 10.6.2 | 10.6.2 |
@storybook/addon-mcpnpm |
11.0.0-alpha.0 up to 11.0.0-alpha.6 | 11.0.0-alpha.6 |
storybookTuxCare:npm |
8.5.8-tuxcare.0 up to 8.5.8-tuxcare.5, plus listed versions 8.5.88.5.8-tuxcare.18.5.8-tuxcare.28.5.8-tuxcare.38.5.8-tuxcare.4 |
8.5.8-tuxcare.5 |
storybookTuxCare:npm |
10.1.9-tuxcare.0 up to 10.1.9-tuxcare.2, plus listed versions 10.1.910.1.9-tuxcare.1 |
10.1.9-tuxcare.2 |
storybookTuxCare:npm |
9.1.16-tuxcare.0 up to 9.1.16-tuxcare.3, plus listed versions 9.1.169.1.16-tuxcare.19.1.16-tuxcare.2 |
9.1.16-tuxcare.3 |
storybookRoot:npm |
before 10.6.0-aikido.2 | 10.6.0-aikido.2 |
@rootio/storybookRoot:npm |
before 10.6.0-root.io.2 | 10.6.0-root.io.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-114126 is a high vulnerability (CVSS 8.7) in Storybookjs Storybook, published October 21, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.53%, the 44th percentile. Fixed in storybook 8.6.19.
References
github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77
github.com/storybookjs/storybook/pull/36726
github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da
github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178
github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5
github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb
Show 10 moreShow less
github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e
github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed
github.com/storybookjs/storybook/releases/tag/v10.6.2
github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6
github.com/storybookjs/storybook/releases/tag/v8.6.19
github.com/storybookjs/storybook/releases/tag/v9.1.21
nvd.nist.gov/vuln/detail/CVE-2026-114126
github.com/advisories/GHSA-px85-f4q5-jh77
github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114126.json
github.com/storybookjs/storybook
Left out here: the rest of 2 source descriptions. The JSON record has them.