Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. storybook
  4. ›
  5. CVE-2025-68429

CVE-2025-68429: Storybook manager bundle may expose environment variables during build

December 18, 2025

On December 11th, the Storybook team received a responsible disclosure alerting them to a potential vulnerability in certain built and published Storybooks.

The vulnerability is a bug in how Storybook handles environment variables defined in a .env file, which could, in specific circumstances, lead to those variables being unexpectedly bundled into the artifacts created by the storybook build command. When a built Storybook is published to the web, the bundle’s source is viewable, thus potentially exposing those variables to anyone with access. If those variables contained secrets, they should be considered compromised.

References

  • github.com/advisories/GHSA-8452-54wp-rmv6
  • github.com/storybookjs/storybook
  • github.com/storybookjs/storybook/security/advisories/GHSA-8452-54wp-rmv6
  • nvd.nist.gov/vuln/detail/CVE-2025-68429
  • storybook.js.org/blog/security-advisory

Code Behaviors & Features

Detect and mitigate CVE-2025-68429 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.0.0 before 7.6.21, all versions starting from 8.0.0 before 8.6.15, all versions starting from 9.0.0 before 9.1.17, all versions starting from 10.0.0 before 10.1.10

Fixed versions

  • 7.6.21
  • 8.6.15
  • 9.1.17
  • 10.1.10

Solution

Upgrade to versions 10.1.10, 7.6.21, 8.6.15, 9.1.17 or above.

Impact 7.3 HIGH

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory
  • CWE-541: Inclusion of Sensitive Information in an Include File

Source file

npm/storybook/CVE-2025-68429.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:59 +0000.