Storybook manager bundle may expose environment variables during build
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
Storybook is a frontend workshop for building user interface components and pages in isolation. A vulnerability present starting in versions 7.0.0 and prior to versions 7.6.21, 8.6.15, 9.1.17, and 10.1.10 relates to Storybook’s handling of 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. For a project to potentially be vulnerable to this issue, it must build the Storybook (i.e. run `storybook build` directly or indirectly) in a directory that contains a `.env` file (including variants like `.env.local`) and publish the built Storybook to the web. Storybooks built without a `.env` file at build time are not affected, including common CI-based builds where secrets are provided via platform environment variables rather than `.env` files. Storybook runtime environments (i.e. `storybook dev`) are not affected. Deployed applications that share a repo with your Storybook are not affected. Users should upgrade their Storybook—on both their local machines and CI environment—to version .6.21, 8.6.15, 9.1.17, or 10.1.10 as soon as possible. Maintainers additionally recommend that users audit for any sensitive secrets provided via `.env` files and rotate those keys. Some projects may have been relying on the undocumented behavior at the heart of this issue and will need to change how they reference environment variables after this update. If a project can no longer read necessary environmental variable values, either prefix the variables with `STORYBOOK_` or use the `env` property in Storybook’s configuration to manually specify values. In either case, do not include sensitive secrets as they will be included in the built bundle.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| storybookjs | storybook | 7.0.0 to before 7.6.21; 8.0.0 to before 8.6.15; 9.0.0 to before 9.1.17; 10.0.0 to before 10.1.10 | 7.6.21, 8.6.15, 9.1.17, 10.1.10 | Patch available | CNA |
| — | storybook (npm) | 7.0.0 to before 7.6.21 | 7.6.21 | Patch available | GHSA-8452-54wp-rmv6 |
| — | storybook (npm) | 8.0.0 to before 8.6.15 | 8.6.15 | Patch available | GHSA-8452-54wp-rmv6 |
| — | storybook (npm) | 9.0.0 to before 9.1.17 | 9.1.17 | Patch available | GHSA-8452-54wp-rmv6 |
| — | storybook (npm) | 10.0.0 to before 10.1.10 | 10.1.10 | Patch available | GHSA-8452-54wp-rmv6 |
- storybook Vendorstorybookjs Affected 7.0.0 to before 7.6.21; 8.0.0 to before 8.6.15; 9.0.0 to before 9.1.17; 10.0.0 to before 10.1.10 Fixed in 7.6.21, 8.6.15, 9.1.17, 10.1.10 Patch available CNA
- storybook (npm) Vendor— Affected 7.0.0 to before 7.6.21 Fixed in 7.6.21 Patch available GHSA-8452-54wp-rmv6
- storybook (npm) Vendor— Affected 8.0.0 to before 8.6.15 Fixed in 8.6.15 Patch available GHSA-8452-54wp-rmv6
- storybook (npm) Vendor— Affected 9.0.0 to before 9.1.17 Fixed in 9.1.17 Patch available GHSA-8452-54wp-rmv6
- storybook (npm) Vendor— Affected 10.0.0 to before 10.1.10 Fixed in 10.1.10 Patch available GHSA-8452-54wp-rmv6
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:storybook:storybook:*:*:*:*:*:node.js:*:* | 7.0.0 to before 7.6.21; 8.0.0 to before 8.6.15; 9.0.0 to before 9.1.17; 10.0.0 to before 10.1.10 | Vulnerable | Storybook |
- cpe:2.3:a:storybook:storybook:*:*:*:*:*:node.js:*:* Versions 7.0.0 to before 7.6.21; 8.0.0 to before 8.6.15; 9.0.0 to before 9.1.17; 10.0.0 to before 10.1.10 Vulnerable ·Storybook
Remediation
- Fix · CNA storybook (storybookjs) Fixed in 7.6.21, 8.6.15, 9.1.17, 10.1.10
- Fix · GHSA-8452-54wp-rmv6 storybook (npm) Fixed in 7.6.21 Advisory →
- Fix · GHSA-8452-54wp-rmv6 storybook (npm) Fixed in 8.6.15 Advisory →
- Fix · GHSA-8452-54wp-rmv6 storybook (npm) Fixed in 9.1.17 Advisory →
- Fix · GHSA-8452-54wp-rmv6 storybook (npm) Fixed in 10.1.10 Advisory →
Red Hat 3 advisories
- RHSA-2026:2737 Released 2026-02-16 · Red Hat rating ImportantRed Hat Ceph Storage
- Red Hat Ceph Storage 8 registry.redhat.io/rhceph/grafana-rhel9, registry.redhat.io/rhceph/rhceph-8-rhel9
- RHSA-2026:2500 Released 2026-02-11 · Red Hat rating ImportantRed Hat multicluster global hub 1.4.4 security update
- Multicluster Global Hub 1.4.9 registry.redhat.io/multicluster-globalhub/multicluster-globalhub-grafana-rhel9
- RHSA-2026:2256 Released 2026-02-09 · Red Hat rating ImportantRed Hat multicluster global hub 1.5.3 security update
- Multicluster Global Hub 1.5.8 registry.redhat.io/multicluster-globalhub/multicluster-globalhub-grafana-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
| streams for Apache Kafka 3 | Affected | No fix planned: Will not fix |
| Multicluster Global Hub 1.4.9 | Fixed | RHSA-2026:2500 |
| Multicluster Global Hub 1.5.8 | Fixed | RHSA-2026:2256 |
| Red Hat Ceph Storage 8 | Fixed | RHSA-2026:2737 |
Not affected: 7 products
- Multicluster Global Hub 1.4.9
- Multicluster Global Hub 1.5.8
- Node HealthCheck Operator
- Red Hat Ceph Storage 8
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- streams for Apache Kafka 2
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68429
- 2026-10-03 Alias added: GHSA-8452-54wp-rmv6
- 2026-10-31 Fix available: Multicluster Global Hub 1.5.8 · Red Hat
References
More storybookjs vulnerabilities
- TI-2026-78906 Storybook dev server exposes WebSocket token to LAN attackers CVSS 4.0HIGH 8.7
- TI-2026-78905 Missing origin checks in Storybook preview allow code injection CVSS 4.0HIGH 8.6
- TI-2026-34698 TeleJSON < 6.0.0 DOM-based XSS via parse() Function CVSS 4.0LOW 2.1
Sources
- CVE-2025-68429 · CVE Program
- CVE-2025-68429 · NVD
- FIRST EPSS
- GHSA-8452-54wp-rmv6 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68429 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences