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.
CVE-2026-114126
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-114126
storybook
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "storybookjs",
"product": "storybook",
"versions": [
{
"status": "affected",
"version": ">= 8.0.0, < 8.6.19"
},
{
"status": "affected",
"version": ">= 9.0.0, < 9.1.21"
},
{
"status": "affected",
"version": ">= 10.0.0, < 10.6.2"
},
{
"status": "affected",
"version": ">= 11.0.0-alpha.0, < 11.0.0-alpha.6"
}
]
}
]- Related CVEs
- CVE-2026-114126
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #49313 · Revision 1
- Added to Heist Feed
- Publisher date