---
id: CVE-2026-114126
title: >-
  Storybook dev server: devices on the same network can obtain the WebSocket
  token and write code into story files
summary: >-
  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 t…
severity: high
cvss: 8.7
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-22
  - CWE-94
  - CWE-306
vendor: storybookjs
product: storybook
affected:
  - 'storybook >= 8.0.0, < 8.6.19'
  - 'storybook >= 9.0.0, < 9.1.21'
  - 'storybook >= 10.0.0, < 10.6.2'
  - 'storybook >= 11.0.0-alpha.0, < 11.0.0-alpha.6'
published: '2026-10-21'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T17:21:29.520Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114126'
references:
  - url: >-
      https://github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77
    label: >-
      https://github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77
  - url: 'https://github.com/storybookjs/storybook/pull/36726'
    label: 'https://github.com/storybookjs/storybook/pull/36726'
  - url: >-
      https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da
    label: >-
      https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da
  - url: >-
      https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178
    label: >-
      https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178
  - url: >-
      https://github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5
    label: >-
      https://github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5
  - url: >-
      https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb
    label: >-
      https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb
  - url: >-
      https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e
    label: >-
      https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e
  - url: >-
      https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed
    label: >-
      https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed
  - url: 'https://github.com/storybookjs/storybook/releases/tag/v10.6.2'
    label: 'https://github.com/storybookjs/storybook/releases/tag/v10.6.2'
  - url: 'https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6'
    label: 'https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6'
  - url: 'https://github.com/storybookjs/storybook/releases/tag/v8.6.19'
    label: 'https://github.com/storybookjs/storybook/releases/tag/v8.6.19'
  - url: 'https://github.com/storybookjs/storybook/releases/tag/v9.1.21'
    label: 'https://github.com/storybookjs/storybook/releases/tag/v9.1.21'
tags:
  - cve.org
ingestedAt: '2026-10-21T18:09:27.278Z'
---

## Overview

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.

## Affected

- `storybook >= 8.0.0, < 8.6.19`
- `storybook >= 9.0.0, < 9.1.21`
- `storybook >= 10.0.0, < 10.6.2`
- `storybook >= 11.0.0-alpha.0, < 11.0.0-alpha.6`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
