Storybook dev server vulnerable to code injection from the local network
CVE-2026-114126 · GHSA-px85-f4q5-jh77 · published 2026-10-22
- Severity
- High
- CVSS score
- 8.7
- Chance of exploitation (EPSS)
- 0.53%
- Fixed in
- 11.0.0-alpha.6
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Total
- CISA SSVC
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.
Upgrade @storybook/addon-mcp to 11.0.0-alpha.6 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
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
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @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 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- CriticalStorybook: Missing origin validation in Storybook preview allows code injection from malicious websites@storybook/addon-mcp, @storybook/addon-mcp
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.