Insufficiently Protected Credentials Affecting sealed-env package, versions <0.1.0-alpha.5


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SEALEDENV-17728454
  • published30 Jun 2026
  • disclosed12 May 2026
  • creditUnknown

Introduced: 12 May 2026

CVE-2026-45091  (opens in a new tab)
CWE-522  (opens in a new tab)

How to fix?

Upgrade sealed-env to version 0.1.0-alpha.5 or higher.

Overview

sealed-env is an Encrypted .env files with optional TOTP unsealing for production deploys. Cross-stack with the Java port. One minimal CLI dependency.

Affected versions of this package are vulnerable to Insufficiently Protected Credentials in the process of embedding the TOTP secret in the JWS payload of unseal tokens. An attacker can gain unauthorized access to sensitive authentication secrets by decoding the base64-encoded payload from any observed unseal token and extracting the TOTP secret in plaintext. This enables the attacker, if they also possess the master key, to mint new valid unseal tokens for future deployments indefinitely.

CVSS Base Scores

version 4.0
version 3.1