Skip to content
Heist/ feed
Back to feed
High

Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files

Type: advisorySources: Official CVE List

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.

Products
storybook
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-114126
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 17:43 UTC · Revision 2

Source evidence

Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files

core-cve · Original source

Published 21 Oct 2026, 17:21 UTC

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:CVE-2026-114126

storybook

Fixed versions: Not specified

Complete source record
{
  "id": "5404a8c117f76c516f369dc7ff95fc43ee06268820db5bb56f8d95c99718bbbf",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-114126",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 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.",
    "evidence": "cve:CVE-2026-114126",
    "products": [
      {
        "name": {
          "value": "storybook",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-114126",
      "aliases": [
        "CVE-2026-114126"
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "version": "4.0",
            "baseScore": 8.7,
            "attackVector": "ADJACENT",
            "baseSeverity": "HIGH",
            "vectorString": "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",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "LOW",
            "vulnIntegrityImpact": "HIGH",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "HIGH",
            "subConfidentialityImpact": "LOW",
            "vulnConfidentialityImpact": "HIGH"
          }
        }
      ],
      "affected": [
        {
          "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"
            }
          ]
        }
      ],
      "modified": "2026-10-28T01:28:25.264Z",
      "provider": "cve",
      "references": [
        "https://github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77",
        "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",
        "https://github.com/storybookjs/storybook/releases/tag/v10.6.2",
        "https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6",
        "https://github.com/storybookjs/storybook/releases/tag/v8.6.19",
        "https://github.com/storybookjs/storybook/releases/tag/v9.1.21"
      ],
      "provider_metadata": {
        "adp": [
          {
            "title": "CISA ADP Vulnrichment",
            "metrics": [
              {
                "other": {
                  "type": "ssvc",
                  "content": {
                    "id": "CVE-2026-114126",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-28T01:27:43.093819Z"
                  }
                }
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-28T01:28:25.264Z"
            }
          }
        ],
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-21T17:21:29.520Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-114126",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 404496,
  "published_at": "2026-10-21T17:21:29.52+00:00"
}