CVE-2026-114126 (GCVE-0-2026-114126)

Vulnerability from cvelistv5 – Published: 2026-10-21 17:21 – Updated: 2026-10-21 17:21
VLAI
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.
CWE
  • CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-94 - Improper Control of Generation of Code ('Code Injection')
  • CWE-306 - Missing Authentication for Critical Function
Assigner
GitHub_M CNA under the mitre root
CNA scorecard C 72/100 over 7634 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
storybookjs storybook Affected: >= 8.0.0, < 8.6.19
Affected: >= 9.0.0, < 9.1.21
Affected: >= 10.0.0, < 10.6.2
Affected: >= 11.0.0-alpha.0, < 11.0.0-alpha.6
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "product": "storybook",
          "vendor": "storybookjs",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 8.0.0, \u003c 8.6.19"
            },
            {
              "status": "affected",
              "version": "\u003e= 9.0.0, \u003c 9.1.21"
            },
            {
              "status": "affected",
              "version": "\u003e= 10.0.0, \u003c 10.6.2"
            },
            {
              "status": "affected",
              "version": "\u003e= 11.0.0-alpha.0, \u003c 11.0.0-alpha.6"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s privileges. This issue is fixed in 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "ADJACENT",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "LOW",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "HIGH",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "HIGH"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-22",
              "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-94",
              "description": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-306",
              "description": "CWE-306: Missing Authentication for Critical Function",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T17:21:29.520Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77"
        },
        {
          "name": "https://github.com/storybookjs/storybook/pull/36726",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/pull/36726"
        },
        {
          "name": "https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da"
        },
        {
          "name": "https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178"
        },
        {
          "name": "https://github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5"
        },
        {
          "name": "https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb"
        },
        {
          "name": "https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e"
        },
        {
          "name": "https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed"
        },
        {
          "name": "https://github.com/storybookjs/storybook/releases/tag/v10.6.2",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/releases/tag/v10.6.2"
        },
        {
          "name": "https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6"
        },
        {
          "name": "https://github.com/storybookjs/storybook/releases/tag/v8.6.19",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/releases/tag/v8.6.19"
        },
        {
          "name": "https://github.com/storybookjs/storybook/releases/tag/v9.1.21",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/storybookjs/storybook/releases/tag/v9.1.21"
        }
      ],
      "source": {
        "advisory": "GHSA-px85-f4q5-jh77",
        "discovery": "UNKNOWN"
      },
      "title": "Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-114126",
    "datePublished": "2026-10-21T17:21:29.520Z",
    "dateReserved": "2026-10-20T21:53:58.472Z",
    "dateUpdated": "2026-10-21T17:21:29.520Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "storybook",
                "vendor": "storybookjs",
                "versions": [
                  {
                    "status": "affected",
                    "version": "\u003e= 8.0.0, \u003c 8.6.19"
                  },
                  {
                    "status": "affected",
                    "version": "\u003e= 9.0.0, \u003c 9.1.21"
                  },
                  {
                    "status": "affected",
                    "version": "\u003e= 10.0.0, \u003c 10.6.2"
                  },
                  {
                    "status": "affected",
                    "version": "\u003e= 11.0.0-alpha.0, \u003c 11.0.0-alpha.6"
                  }
                ]
              }
            ],
            "source": "security-advisories@github.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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\u0027s privileges. This issue is fixed in 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6."
          }
        ],
        "id": "CVE-2026-114126",
        "lastModified": "2026-10-21T18:17:25.130",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "ADJACENT",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "security-advisories@github.com",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-21T18:17:25.130",
        "references": [
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/commit/5540f03b209cc56c66f56a9c7cb4b2ee5b883ce5"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/pull/36726"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/releases/tag/v10.6.2"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/releases/tag/v8.6.19"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/releases/tag/v9.1.21"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/storybookjs/storybook/security/advisories/GHSA-px85-f4q5-jh77"
          }
        ],
        "sourceIdentifier": "security-advisories@github.com",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-22"
              },
              {
                "lang": "en",
                "value": "CWE-94"
              },
              {
                "lang": "en",
                "value": "CWE-306"
              }
            ],
            "source": "security-advisories@github.com",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-10-21T19:31:54+00:00",
      "cve": "CVE-2026-114126",
      "id": "CVE-2026-114126",
      "initial_release_date": "2026-10-21T17:21:29.520000+00:00",
      "product_status:known_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "storybook: storybook: Arbitrary code execution via exposed WebSocket authentication token",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-114126.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.