The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-68429

CVE-2025-68429: Storybook Information Disclosure Flaw

CVE-2025-68429 is an information disclosure vulnerability in Storybook that exposes .env file secrets in built bundles. This article covers technical details, affected versions, impact, and mitigation steps.

Published: April 15, 2026

CVE-2025-68429 Overview

CVE-2025-68429 is an Information Exposure vulnerability in Storybook, a popular frontend workshop for building user interface components and pages in isolation. The vulnerability relates to Storybook's improper handling of environment variables defined in .env files, which could lead to sensitive variables being unexpectedly bundled into build artifacts created by the storybook build command. When a built Storybook is published to the web, the bundle's source becomes viewable, potentially exposing sensitive secrets such as API keys, database credentials, or other configuration values to anyone with access to the deployed Storybook.

Critical Impact

Sensitive environment variables from .env files may be inadvertently exposed in publicly accessible Storybook builds, potentially leading to credential theft and unauthorized system access.

Affected Products

  • Storybook versions 7.0.0 through 7.6.20
  • Storybook versions 8.0.0 through 8.6.14
  • Storybook versions 9.0.0 through 9.1.16
  • Storybook versions 10.0.0 through 10.1.9

Discovery Timeline

  • 2025-12-17 - CVE-2025-68429 published to NVD
  • 2026-04-10 - Last updated in NVD database

Technical Details for CVE-2025-68429

Vulnerability Analysis

This vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) stems from Storybook's undocumented behavior in processing .env files during the build process. When executing storybook build, the tool inadvertently bundles environment variables from .env files (including variants like .env.local) into the final JavaScript artifacts. Since these bundles are client-side code, anyone can inspect the source and extract embedded environment variables.

The attack is network-accessible without any authentication requirements and does not require user interaction. An attacker simply needs to access the publicly deployed Storybook application and inspect the bundled JavaScript source code to extract any exposed secrets.

Root Cause

The root cause lies in Storybook's build pipeline which, in certain configurations, includes all environment variables from .env files in the final bundle rather than limiting inclusion to explicitly prefixed variables (such as STORYBOOK_). This behavior appears to have been an undocumented feature that some projects may have relied upon, but it creates a significant security risk when builds containing sensitive credentials are deployed publicly.

Attack Vector

The attack vector for CVE-2025-68429 is straightforward:

  1. An organization builds their Storybook in a directory containing a .env file with sensitive secrets
  2. The built Storybook is deployed to a web-accessible location
  3. An attacker visits the deployed Storybook URL
  4. The attacker uses browser developer tools to inspect the JavaScript bundle sources
  5. Environment variables from the .env file are visible within the bundled code
  6. The attacker extracts sensitive credentials such as API keys, database passwords, or third-party service tokens

This vulnerability specifically affects production builds created with storybook build. Development environments using storybook dev are not affected. Additionally, builds performed in CI environments where secrets are provided via platform environment variables (rather than .env files) are not vulnerable.

Detection Methods for CVE-2025-68429

Indicators of Compromise

  • Review deployed Storybook JavaScript bundles for unexpected environment variable strings
  • Search build artifacts for sensitive credential patterns (API keys, tokens, connection strings)
  • Audit access logs for unusual inspection activity on Storybook static assets
  • Check for unauthorized use of credentials that may have been exposed through Storybook builds

Detection Strategies

  • Implement static analysis scanning on Storybook build outputs to detect embedded secrets
  • Use secret scanning tools to analyze JavaScript bundles before deployment
  • Configure CI/CD pipelines to fail builds if sensitive patterns are detected in output artifacts
  • Monitor for credential usage from unexpected IP addresses or locations

Monitoring Recommendations

  • Enable logging for all Storybook asset requests to detect reconnaissance activity
  • Set up alerts for bulk downloads of JavaScript bundles from Storybook deployments
  • Implement credential rotation alerts to track potential exposure events
  • Monitor third-party service dashboards for suspicious authentication attempts using potentially exposed keys

How to Mitigate CVE-2025-68429

Immediate Actions Required

  • Upgrade Storybook to version 7.6.21, 8.6.15, 9.1.17, or 10.1.10 on all local development machines and CI environments
  • Audit all .env files in Storybook project directories for sensitive secrets
  • Rotate any credentials that may have been exposed in previously deployed Storybook builds
  • Review deployed Storybook instances and remove or rebuild those containing exposed secrets

Patch Information

Storybook has released patched versions that address this environment variable exposure vulnerability. Users should update to the following fixed versions:

  • Version 7.x: Upgrade to 7.6.21 or later
  • Version 8.x: Upgrade to 8.6.15 or later
  • Version 9.x: Upgrade to 9.1.17 or later
  • Version 10.x: Upgrade to 10.1.10 or later

For detailed information, refer to the GitHub Security Advisory GHSA-8452-54wp-rmv6 and the Storybook Blog Security Advisory.

Workarounds

  • Remove .env files from Storybook build directories before running storybook build
  • Migrate sensitive secrets from .env files to CI platform-specific environment variable storage
  • If environment variables are needed in Storybook, prefix non-sensitive variables with STORYBOOK_ or use the env property in Storybook configuration
  • Restrict access to deployed Storybook instances using authentication or network-level controls until patches can be applied
bash
# Configuration example: Using Storybook's env property in main.js
# Only include non-sensitive configuration values
export STORYBOOK_API_BASE_URL="https://api.example.com"
export STORYBOOK_APP_NAME="MyApp"

# Remove sensitive variables from .env before building
# Move secrets to CI platform environment variable storage
rm -f .env .env.local .env.production

# Upgrade Storybook to patched version
npm update storybook@latest
# Or for specific version
npm install storybook@7.6.21

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechStorybook

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Vendor Resources
  • GitHub Security Advisory GHSA-8452-54wp-rmv6

  • Storybook Blog Security Advisory
  • Related CVEs
  • CVE-2026-27148: Storybook WebSocket Hijacking RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English