CVE-2025-68429

Description

A flaw was found in Storybook, a tool for building user interface components. This vulnerability can lead to the unintended exposure of sensitive information. When Storybook is built in a directory containing a .env file and then published online, environment variables from that file may be included in the publicly accessible build artifacts. This allows anyone with access to the published Storybook to view these potentially confidential variables.

Statement

This vulnerability is rated Important for Red Hat as it can lead to the unintended exposure of sensitive environment variables. This occurs when a Storybook project is built using the storybook build command in a directory containing a .env file, and the resulting bundle is subsequently published to a web-accessible location. Storybook instances built without .env files or run in development mode (storybook dev) are not affected.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.55.37.3
Attack VectorNetworkNetworkNetwork
Attack ComplexityLowLowLow
Privileges RequiredNoneNoneNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityHighLowLow
Integrity ImpactNoneNoneLow
Availability ImpactNoneNoneLow

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Files or Directories

Frequently Asked Questions

Want to get errata notifications? Sign up here.