Vulnerabilities/

Storybook manager bundle may expose environment variables during build

Severity:
High

Description

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.

Recommendation

Update the storybook package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
storybook
Anything's wrong? Let us know Last updated on January 07, 2026