CVE-2025-68429
Storybook: Storybook: Information disclosure via unexpected bundling of environment variables
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 18, 2025
Updated · November 1, 2026
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-538 · Insertion of Sensitive Information into Externally-Accessible File or Directory