{"answers":{"affected":"24 open source packages ship an affected version, including storybook, @storybook/addon-mcp and @storybook/addon-vitest.","exploited":"There is no known exploitation of CVE-2026-114126 in the wild and no public exploit code.","fix":"Upgrade storybook to a fixed version for your release line: 10.6.2, 11.0.0-alpha.6, 8.6.19 or 9.1.21.","what":"CVE-2026-114126 is a high-severity vulnerability in storybookjs storybook, published on 21 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-114126 and fix it if it is affected.\n\nWhat it is: CVE-2026-114126 is a high-severity vulnerability in storybookjs storybook, published on 21 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-114126 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- storybook (npm): affected from 10.0.0; fixed in 10.6.2\n- storybook (npm): affected from 10.0.0; fixed in 10.6.2\n- storybook (npm): affected from 11.0.0-alpha.0; fixed in 11.0.0-alpha.6\n- storybook (npm): affected from 11.0.0-alpha.0; fixed in 11.0.0-alpha.6\n- storybook (npm): affected from 8.0.0; fixed in 8.6.19\n- storybook (npm): affected from 8.0.0; fixed in 8.6.19\n- storybook (npm): affected from 9.0.0; fixed in 9.1.21\n- storybook (npm): affected from 9.0.0; fixed in 9.1.21\n- @storybook/addon-mcp (npm): affected from 10.6.0; fixed in 10.6.2\n- @storybook/addon-mcp (npm): affected from 10.6.0; fixed in 10.6.2\n- @storybook/addon-mcp (npm): affected from 11.0.0-alpha.0; fixed in 11.0.0-alpha.6\n- @storybook/addon-mcp (npm): affected from 11.0.0-alpha.0; fixed in 11.0.0-alpha.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-114126/ (Markdown: https://insights.sbomify.com/CVE-2026-114126/index.md)","id":"CVE-2026-114126","markdown":"https://insights.sbomify.com/CVE-2026-114126/index.md","name":"CVE-2026-114126","record":{"aliases":["GHSA-px85-f4q5-jh77","ROOT-APP-NPM-CVE-2026-114126"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"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"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Storybook dev server: devices on the same network can obtain the WebSocket token and write code into story files","id":"CVE-2026-114126","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":24,"n_references":12,"next":{"headline":"Astro: Arbitrary CSS injection in Astro View Transitions","id":"CVE-2026-114127"},"packages":[{"ecosystem":"npm","fixed":["10.6.2"],"introduced":["10.6.0"],"last_affected":[],"package":"@storybook/addon-mcp","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["10.6.2"],"introduced":["10.6.0"],"last_affected":[],"package":"@storybook/addon-mcp","purl":"pkg:npm/%40storybook/addon-mcp","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["11.0.0-alpha.6"],"introduced":["11.0.0-alpha.0"],"last_affected":[],"package":"@storybook/addon-mcp","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["11.0.0-alpha.6"],"introduced":["11.0.0-alpha.0"],"last_affected":[],"package":"@storybook/addon-mcp","purl":"pkg:npm/%40storybook/addon-mcp","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["10.6.2"],"introduced":["10.0.0"],"last_affected":[],"package":"@storybook/addon-vitest","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["10.6.2"],"introduced":["10.0.0"],"last_affected":[],"package":"@storybook/addon-vitest","purl":"pkg:npm/%40storybook/addon-vitest","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["11.0.0-alpha.6"],"introduced":["11.0.0-alpha.0"],"last_affected":[],"package":"@storybook/addon-vitest","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["11.0.0-alpha.6"],"introduced":["11.0.0-alpha.0"],"last_affected":[],"package":"@storybook/addon-vitest","purl":"pkg:npm/%40storybook/addon-vitest","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["9.1.21"],"introduced":["9.0.0"],"last_affected":[],"package":"@storybook/addon-vitest","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["9.1.21"],"introduced":["9.0.0"],"last_affected":[],"package":"@storybook/addon-vitest","purl":"pkg:npm/%40storybook/addon-vitest","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["8.6.19"],"introduced":["8.0.0"],"last_affected":[],"package":"@storybook/core","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["8.6.19"],"introduced":["8.0.0"],"last_affected":[],"package":"@storybook/core","purl":"pkg:npm/%40storybook/core","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["8.6.19"],"introduced":["8.0.0"],"last_affected":[],"package":"@storybook/core-server","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["8.6.19"],"introduced":["8.0.0"],"last_affected":[],"package":"@storybook/core-server","purl":"pkg:npm/%40storybook/core-server","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["8.6.19"],"introduced":["8.0.0"],"last_affected":[],"package":"@storybook/experimental-addon-test","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["8.6.19"],"introduced":["8.0.0"],"last_affected":[],"package":"@storybook/experimental-addon-test","purl":"pkg:npm/%40storybook/experimental-addon-test","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["10.6.2"],"introduced":["10.0.0"],"last_affected":[],"package":"storybook","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["10.6.2"],"introduced":["10.0.0"],"last_affected":[],"package":"storybook","purl":"pkg:npm/storybook","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["11.0.0-alpha.6"],"introduced":["11.0.0-alpha.0"],"last_affected":[],"package":"storybook","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["11.0.0-alpha.6"],"introduced":["11.0.0-alpha.0"],"last_affected":[],"package":"storybook","purl":"pkg:npm/storybook","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["8.6.19"],"introduced":["8.0.0"],"last_affected":[],"package":"storybook","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["8.6.19"],"introduced":["8.0.0"],"last_affected":[],"package":"storybook","purl":"pkg:npm/storybook","source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["9.1.21"],"introduced":["9.0.0"],"last_affected":[],"package":"storybook","purl":null,"source":"GHSA-px85-f4q5-jh77"},{"ecosystem":"npm","fixed":["9.1.21"],"introduced":["9.0.0"],"last_affected":[],"package":"storybook","purl":"pkg:npm/storybook","source":"GHSA-px85-f4q5-jh77"}],"prev":{"headline":"Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites","id":"CVE-2026-114125"},"products":["storybook"],"published":"2026-10-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-28","vendors":["storybookjs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-114126/"}