Skip to main content

CVE-2026-114126: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in storybookjs storybook

0
High
VulnerabilityCVE-2026-114126cvecve-2026-114126cwe-22cwe-94cwe-306
Published: 10/21/2026 (10/21/2026, 17:21:29 UTC)
Source: CVE Database V5
Vendor/Project: storybookjs
Product: storybook

Description

Storybook versions from 8.0.0 up to but not including 8.6.19, 9.0.0 up to 9.1.21, 10.0.0 up to 10.6.2, and 11.0.0-alpha.0 up to 11.0.0-alpha.6 contain a vulnerability where the development server exposes its WebSocket authentication token over a local network. An attacker on the LAN can obtain this token and exploit weak validation in story file writing to place malicious code. If the Vitest addon is installed with an outdated Vitest version, this can lead to arbitrary file writes or command execution with developer privileges. The issue is fixed in versions 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6.

CVSS v4.0

Score 8.7high

Attack Vector
Adjacent Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

storybookjs

storybook

Affected versions
>=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
storybook
pkg:npm/storybook
Affected versions
>=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

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/21/2026, 18:00:21 UTC

Technical Analysis

CVE-2026-114126 is a path traversal and authentication token exposure vulnerability in the Storybook development server affecting versions >=8.0.0 <8.6.19, >=9.0.0 <9.1.21, >=10.0.0 <10.6.2, and >=11.0.0-alpha.0 <11.0.0-alpha.6. The server exposes its WebSocket authentication token to clients on the local network, allowing an attacker to invoke WebSocket-backed file-writing or testing functions. Due to weak validation on story file writes, an attacker can inject code. When combined with an outdated Vitest addon, this can lead to arbitrary file writes or command execution with the developer's privileges. The vulnerability is addressed in the fixed versions 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6.

Potential Impact

An attacker on the local network can obtain the WebSocket authentication token from the Storybook development server and exploit weak validation to write malicious code into story files. If the Vitest addon is present with an old Vitest version, this can escalate to arbitrary file writes or command execution with the privileges of the developer running Storybook. This can lead to compromise of the development environment and potentially further code execution.

Mitigation Recommendations

Upgrade Storybook to version 8.6.19, 9.1.21, 10.6.2, or 11.0.0-alpha.6 or later where this vulnerability is fixed. Additionally, ensure the Vitest addon and Vitest itself are updated to secure versions. Avoid exposing the Storybook development server to untrusted local networks until patched.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-20T21:53:58.472Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad8fa684d27ba8daad211e3

Added to database: 10/21/2026, 17:46:16 UTC

Last enriched: 10/21/2026, 18:00:21 UTC

Last updated: 10/21/2026, 18:00:21 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses