Vulnerability · Published May 12, 2026 · Assigned by GitHub_M
CVE-2026-45091sealed-env: TOTP secret embedded in unseal token payload (enterprise mode)
Critical 9.1
In plain English
A critical-severity information exposure in sealed-env from davidalmeidac. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
sealed-env is a cross-stack, zero-trust secret management library for Node.js and Java/Spring Boot. In sealed-env enterprise mode, versions 0.1.0-alpha.1 through 0.1.0-alpha.3 embedded the operator's literal TOTP secret in the JWS payload of every minted unseal token. JWS payload is base64-encoded JSON, NOT encrypted. Any party who could observe a minted token (CI build logs, container env dumps, kubectl describe pod, Sentry/Rollbar stack traces, log aggregators) could decode the payload and extract the TOTP secret in plaintext. This vulnerability is fixed in 0.1.0-alpha.4.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.github.davidalmeidac:sealed-env-core | 0.1.0-alpha.4 | GHSA-x3r2-fj3r-g5mv |
| npm | sealed-env | 0.1.0-alpha.4 | GHSA-x3r2-fj3r-g5mv |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| davidalmeidac | sealed-env | < 0.1.0-alpha.4 |
Weakness: CWE-200, CWE-522 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N