CVE-2026-114126 · GHSA-px85-f4q5-jh77
Storybook dev server vulnerable to code injection from the local network
- Risk score
- 65/100
- CVSS
- 8.7 v4.0
- Exploit chance (30 days)
- 0.5%
- Published
- 21 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 obt…
- Affected
- storybook (npm) >= 8.0.0, < 8.6.19; storybook (npm) >= 9.0.0, < 9.1.21; storybook (npm) >= 10.0.0, < 10.6.2; storybook (npm) >= 11.0.0-alpha.0, < 11.0.0-alpha.6
- Fix
- Upgrade storybook to 8.6.19 or 9.1.21 or 10.6.2 or 11.0.0-alpha.6; @storybook/core to 8.6.19; @storybook/core-server to 8.6.19; @storybook/experimental-addon-test to 8.6.19; @storybook/addon-vitest to 9.1.21 (whichever matches your release line) or later.
- Exploitation
- No known exploitation
Story map
At a glance
storybook: Amber, patch this week. Storybook has a vulnerability in its preview feature, allowing malicious websites to inject code and potentially execute arbitrary code with the developer's privileges. An attacker can cause unauthorized changes to story files and execute arbitrary code if a changed file is later executed by a local runtime.
The flaws
- CVE-2026-114126: Storybook dev server vulnerable to code injection from the local network (CVSS 8.7 · EPSS 0%)
- CVE-2026-114125: Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites (CVSS 8.6 · EPSS 0%)
The fix
Upgrade storybook: 8.6.19 · 9.1.21 · 10.6.2 · 11.0.0 or later on your release line
Who is exposed: {'products': ['Storybook'], 'packages': ['storybook', '@storybook/core', '@storybook/core-server', '@storybook/experimental-addon-test', '@storybook/addon-vitest'], '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']}
Where it stands
- No known exploitation
Connects to
- Same weakness: Path traversal (CWE-22). 398 other warnings in 30 days
Why it is Amber
- CVSS 8.7 high
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| storybook | npm | >= 8.0.0, < 8.6.19 | 8.6.19 |
| storybook | npm | >= 9.0.0, < 9.1.21 | 9.1.21 |
| storybook | npm | >= 10.0.0, < 10.6.2 | 10.6.2 |
| storybook | npm | >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | 11.0.0-alpha.6 |
| @storybook/core | npm | >= 8.0.0, < 8.6.19 | 8.6.19 |
| @storybook/core-server | npm | >= 8.0.0, < 8.6.19 | 8.6.19 |
| @storybook/experimental-addon-test | npm | >= 8.0.0, < 8.6.19 | 8.6.19 |
| @storybook/addon-vitest | npm | >= 9.0.0, < 9.1.21 | 9.1.21 |
| @storybook/addon-vitest | npm | >= 10.0.0, < 10.6.2 | 10.6.2 |
| @storybook/addon-vitest | npm | >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | 11.0.0-alpha.6 |
| @storybook/addon-mcp | npm | >= 10.6.0, < 10.6.2 | 10.6.2 |
| @storybook/addon-mcp | npm | >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | 11.0.0-alpha.6 |
References
- https://github.com/advisories/GHSA-px85-f4q5-jh77
- https://github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77
- https://nvd.nist.gov/vuln/detail/CVE-2026-114126
- https://github.com/storybookjs/storybook/pull/36726
- https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da
- https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178
- https://github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5
- https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb
- https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e
- https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed
Original 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.
Last activity 21 Oct 2026. Patch Forecast updates every hour.