Skip to content

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

HighCVSS 8.7 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
Red Hat

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.

Upgrade path

15 packages: 9 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat/rh-podman-desktop(Red Hat podman_desktop 1) All versions No fix listed No fix yet
redhat/workload-availability/node-healthcheck-must-gather-rhel9(Red Hat workload_availability_nhc 0) All versions No fix listed No fix yet
redhat/workload-availability/node-healthcheck-operator-bundle(Red Hat workload_availability_nhc 0) All versions No fix listed No fix yet
redhat/workload-availability/node-healthcheck-rhel9-operator(Red Hat workload_availability_nhc 0) All versions No fix listed No fix yet
redhat/workload-availability/node-remediation-console-rhel8(Red Hat workload_availability_nhc 0) All versions No fix listed No fix yet
npm storybook(npm) >= 8.0.0, < 8.6.19; >= 9.0.0, < 9.1.21; >= 10.0.0, < 10.6.2; >= 11.0.0-alpha.0, < 11.0.0-alpha.6 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6 Fixed
redhat/grafana12-4-main(Red Hat hummingbird 1) < 12.4.13-0.3.hum1 12.4.13-0.3.hum1 Fixed
redhat/grafana13-1-main(Red Hat hummingbird 1) < 13.1.8-0.4.hum1 13.1.8-0.4.hum1 Fixed
redhat/grafana13-2-main(Red Hat hummingbird 1) < 13.2.4-0.3.hum1 13.2.4-0.3.hum1 Fixed
storybook @storybook/addon-mcp(npm) >= 10.6.0, < 10.6.2; >= 11.0.0-alpha.0, < 11.0.0-alpha.6 10.6.2, 11.0.0-alpha.6 Fixed
storybook @storybook/addon-vitest(npm) >= 9.0.0, < 9.1.21; >= 10.0.0, < 10.6.2; >= 11.0.0-alpha.0, < 11.0.0-alpha.6 9.1.21, 10.6.2, 11.0.0-alpha.6 Fixed
storybook @storybook/core(npm) >= 8.0.0, < 8.6.19 8.6.19 Fixed
storybook @storybook/core-server(npm) >= 8.0.0, < 8.6.19 8.6.19 Fixed
storybook @storybook/experimental-addon-test(npm) >= 8.0.0, < 8.6.19 8.6.19 Fixed
storybookjs storybook = >= 8.0.0, < 8.6.19; = >= 9.0.0, < 9.1.21; = >= 10.0.0, < 10.6.2; = >= 11.0.0-alpha.0, < 11.0.0-alpha.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
storybookjs storybook = >= 8.0.0, < 8.6.19 No fix listed
storybookjs storybook = >= 9.0.0, < 9.1.21 No fix listed
storybookjs storybook = >= 10.0.0, < 10.6.2 No fix listed
storybookjs storybook = >= 11.0.0-alpha.0, < 11.0.0-alpha.6 No fix listed
redhat/grafana12-4-main(Red Hat:hummingbird:1) < 12.4.13-0.3.hum1 12.4.13-0.3.hum1
redhat/grafana13-1-main(Red Hat:hummingbird:1) < 13.1.8-0.4.hum1 13.1.8-0.4.hum1
redhat/grafana13-2-main(Red Hat:hummingbird:1) < 13.2.4-0.3.hum1 13.2.4-0.3.hum1
redhat/workload-availability/node-healthcheck-must-gather-rhel9(Red Hat:workload_availability_nhc:0) All versions No fix listed
redhat/workload-availability/node-healthcheck-operator-bundle(Red Hat:workload_availability_nhc:0) All versions No fix listed
redhat/workload-availability/node-healthcheck-rhel9-operator(Red Hat:workload_availability_nhc:0) All versions No fix listed
redhat/workload-availability/node-remediation-console-rhel8(Red Hat:workload_availability_nhc:0) All versions No fix listed
redhat/rh-podman-desktop(Red Hat:podman_desktop:1) All versions No fix listed
npm storybook(npm) >= 8.0.0, < 8.6.19 8.6.19
npm storybook(npm) >= 9.0.0, < 9.1.21 9.1.21
npm storybook(npm) >= 10.0.0, < 10.6.2 10.6.2
npm storybook(npm) >= 11.0.0-alpha.0, < 11.0.0-alpha.6 11.0.0-alpha.6
storybook @storybook/core(npm) >= 8.0.0, < 8.6.19 8.6.19
storybook @storybook/core-server(npm) >= 8.0.0, < 8.6.19 8.6.19
storybook @storybook/experimental-addon-test(npm) >= 8.0.0, < 8.6.19 8.6.19
storybook @storybook/addon-vitest(npm) >= 9.0.0, < 9.1.21 9.1.21
storybook @storybook/addon-vitest(npm) >= 10.0.0, < 10.6.2 10.6.2
storybook @storybook/addon-vitest(npm) >= 11.0.0-alpha.0, < 11.0.0-alpha.6 11.0.0-alpha.6
storybook @storybook/addon-mcp(npm) >= 10.6.0, < 10.6.2 10.6.2
storybook @storybook/addon-mcp(npm) >= 11.0.0-alpha.0, < 11.0.0-alpha.6 11.0.0-alpha.6

References