Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-27148

published high CVSS 4.0 · 8.9

Storybook Dev Server Vulnerable to WebSocket Hijacking

Published
25 Feb 2026, 21:46:48 UTC
Updated
15 Jul 2026, 01:14:24 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
storybookjs — storybook< 7.6.23 · >= 8.1.0, < 8.6.17 · >= 9.0.0, < 9.1.19 · >= 10.0.0, < 10.2.10 Affected Not stated GitHub_M
Red Hat Enterprise Linux 9, 10 grafana Unaffected Not required redhat-SADP
Red Hat — com.github.streamshub-consolestreams for Apache Kafka 2 Unaffected Not required redhat-SADP
Red Hat — com.github.streamshub-consolestreams for Apache Kafka 3 Affected Not stated redhat-SADP

Description

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in Storybook's development server. This vulnerability allows a remote attacker to achieve Remote Code Execution or persistent Cross-Site Scripting by exploiting WebSocket hijacking. The attack can occur if a developer visits a malicious website while their local Storybook development server is active, or directly by an unauthenticated attacker if the server is publicly accessible. This is due to insufficient validation of WebSocket connection origins and unsanitized input, leading to significant security risks.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.9 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
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

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.8 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
storybookjs storybook < 7.6.23 (affected)>= 8.1.0, < 8.6.17 (affected)>= 9.0.0, < 9.1.19 (affected)>= 10.0.0, < 10.2.10 (affected) GitHub_M · cna
Red Hat Red Hat Enterprise Linux 10 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 9 Default: unaffected redhat-SADP · adp
Red Hat streams for Apache Kafka 2 Default: unaffected redhat-SADP · adp
Red Hat streams for Apache Kafka 3 Default: affected redhat-SADP · adp

Weaknesses

3
  • CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (GitHub_M · cna)
  • CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (GitHub_M · cna)
  • CWE-346 Origin Validation Error (redhat-SADP · adp)

References

12

Provider assertions

3

GitHub_M · cna

Storybook Dev Server Vulnerable to WebSocket Hijacking

redhat-SADP · adp

storybook: Storybook: Remote Code Execution via WebSocket Hijacking

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
1ea928a99cfee7d90cc5295e759282ad38f3165e8fd7c073767edf5dd45c4f36
Ingested
23 Sep 2026, 09:07:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected