Secret disclosure via wholesale .env bundling
Published Dec 17, 2025 · Updated Dec 17, 2025
Information disclosure in Storybook allows remote attackers to read .env secrets from published static builds over the network. During storybook build, manager-code bundling substitutes every variable loaded from a project-root .env file when manager or addon code evaluates process.env as an object or references an unavailable property. Exposure requires an affected release, a secret-bearing .env file at build time, a triggering code pattern, and web publication; development servers and builds without .env files are unaffected.
Summary
What happened
Information disclosure in Storybook allows remote attackers to read .env secrets from published static builds over the network. During storybook build, manager-code bundling substitutes every variable loaded from a project-root .env file when manager or addon code evaluates process.env as an object or references an unavailable property. Exposure requires an affected release, a secret-bearing .env file at build time, a triggering code pattern, and web publication; development servers and builds without .env files are unaffected.
The record
- CVE
- CVE-2025-68429
- Published
- Dec 17, 2025
- Updated
- Dec 17, 2025
- Vendor
- Storybook
- Product
- Storybook
- Classifications
- CWE-541, CWE-538, CWE-200, T1552.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 17, 2025CVE publishedPublication date reported by the CVE source.
- Dec 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 10.0.0, < 10.1.10
- Affected versionversion=>= 7.0.0, < 7.6.21
- Affected versionversion=>= 8.0.0, < 8.6.15
- Affected versionversion=>= 9.0.0, < 9.1.17
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo