Home / storybookjs / storybook / CVE-2026-27148
CVE-2026-27148: is it exploited, and which versions of storybookjs storybook are affected and fixed?
CVE-2026-27148 is an injection vulnerability in storybookjs storybook. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: storybook from 8.1.0 before 8.6.17, storybook from 8.7.0-alpha.0 before 9.1.19 and storybook from 10.0.0-beta.0 before 10.2.10 (GitHub advisory GHSA-mjf5-7g4m-gx5w). Fixed in 8.6.17, 9.1.19 and 10.2.10 (GitHub advisory GHSA-mjf5-7g4m-gx5w). Severity: High (8.9, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-27148?
Storybook Dev Server Vulnerable to WebSocket Hijacking
Storybook is a frontend workshop for building user interface components and pages in isolation. Prior to versions 7.6.23, 8.6.17, 9.1.19, and 10.2.10, the WebSocket functionality in Storybook's dev server, used to create and update stories, is vulnerable to WebSocket hijacking. This vulnerability only affects the Storybook dev server; production builds are not impacted. Exploitation requires a developer to visit a malicious website while their local Storybook dev server is running. Because the WebSocket connection does not validate the origin of incoming connections, a malicious site can silently send WebSocket messages to the local instance without any further user interaction. If the Storybook dev server is intentionally exposed publicly (e.g. for design reviews or stakeholder demos) the risk is higher, as no malicious site visit is required. Any unauthenticated attacker can send WebSocket messages to it directly. The vulnerability affects the WebSocket message handlers for creating and saving stories. Both are vulnerable to injection via unsanitized input in the componentFilePath field, which can be exploited to achieve persistent XSS or Remote Code Execution (RCE). Versions 7.6.23, 8.6.17, 9.1.19, and 10.2.10 contain a fix for the issue.
From the CVE record by GitHub_M, last updated July 15, 2026, 01:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| storybookjs | storybook | < 7.6.23 >= 8.1.0, < 8.6.17 >= 9.0.0, < 9.1.19 >= 10.0.0, < 10.2.10 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | storybook | >= 8.1.0, < 8.6.17 | 8.6.17 | GHSA-mjf5-7g4m-gx5w |
| npm | storybook | >= 8.7.0-alpha.0, < 9.1.19 | 9.1.19 | GHSA-mjf5-7g4m-gx5w |
| npm | storybook | >= 10.0.0-beta.0, < 10.2.10 | 10.2.10 | GHSA-mjf5-7g4m-gx5w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 26, 2026. Summary: Storybook Dev Server is Vulnerable to WebSocket Hijacking.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| storybook | storybook | before 7.6.23 | application |
| storybook | storybook | from 8.1.0 before 8.6.17 | application |
| storybook | storybook | from 9.0.0 before 9.1.19 | application |
| storybook | storybook | from 10.0.0 before 10.2.10 | application |
NVD analysis (status Modified), last modified July 15, 2026, 02:19 UTC.
How severe is CVE-2026-27148?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.9 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H | redhat-SADP |
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-27148 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, February 26, 2026)
- EPSS
- 0.62% probability of exploitation activity in the next 30 days, percentile 51.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-1385 Missing Origin Validation in WebSockets
Where are the vendor advisories and references?
- https://github.com/storybookjs/storybook/security/advisories/GHSA-mjf5-7g4m-gx5w x_refsource_CONFIRM
- https://github.com/storybookjs/storybook/commit/0affdf928bd6fafbadfb1dfe22ce6104805e10e8 x_refsource_MISC
- https://github.com/storybookjs/storybook/commit/54689a8add18ea75d628c540f4bc677592a1e685 x_refsource_MISC
- https://github.com/storybookjs/storybook/commit/b8cfa77c73940c140acdcd8a06ab1ea913c44761 x_refsource_MISC
- https://github.com/storybookjs/storybook/commit/d34085f39c647f5c23c3a3b2d197c18602fcf876 x_refsource_MISC
- https://github.com/storybookjs/storybook/releases/tag/v10.2.10 x_refsource_MISC
- https://github.com/storybookjs/storybook/releases/tag/v7.6.23 x_refsource_MISC
- https://github.com/storybookjs/storybook/releases/tag/v8.6.17 x_refsource_MISC
- https://github.com/storybookjs/storybook/releases/tag/v9.1.19 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-27148 vdb-entry, x_refsource_REDHAT
- RHBZ#2442784 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27148.json x_sadp-csaf-vex
When was it published, and where is the official record?
- Reserved
- February 18, 2026
- Published
- February 25, 2026, 21:46 UTC
- CVE record updated
- July 15, 2026, 01:14 UTC by GitHub_M
- NVD
- Modified, last modified July 15, 2026, 02:19 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect storybook?
- Oct 21, 2026CVE-2026-114126 storybookjs storybook: path traversal (reading or writing files outside the intended folder)
- Oct 21, 2026CVE-2026-114125 storybookjs storybook: code injection (remote code execution)
- Dec 17, 2025CVE-2025-68429 storybookjs storybook: information disclosure
Questions about CVE-2026-27148
Is CVE-2026-27148 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.62% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of storybookjs storybook are affected by CVE-2026-27148?
storybook from 8.1.0 before 8.6.17, storybook from 8.7.0-alpha.0 before 9.1.19 and storybook from 10.0.0-beta.0 before 10.2.10, per the GitHub advisory GHSA-mjf5-7g4m-gx5w. The tables above give every range the sources list.
Which version fixes CVE-2026-27148?
8.6.17, 9.1.19 and 10.2.10, per the GitHub advisory GHSA-mjf5-7g4m-gx5w. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-27148?
High (8.9, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-27148?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.