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.
Published: 2026-05-12
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises because sealed‑env in enterprise mode embeds the operator’s literal TOTP secret in the JSON Web Signature payload of every unseal token that is issued. The JSON Web Signature payload is base64‑encoded but not encrypted, so any party that can observe a minted token—such as through CI build logs, container environment dumps, kubectl describe output, log aggregation services, error tracking, or other monitoring—can decode it and recover the TOTP secret in clear text. With the exposed secret an attacker can unseal other secrets stored by the library and compromise systems that rely on those secrets, leading to unauthorized access to sensitive data and potential privilege escalation.

Affected Systems

Affected systems are applications that use the sealed‑env library shipped by david almeidac in its enterprise mode. Versions 0.1.0‑alpha.1 through 0.1.0‑alpha.3 embed the literal TOTP secret in each unseal token. The library is available for Node.js and Java/Spring Boot environments, so any Node.js or Java application that incorporates these specific versions is impacted.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity, and the EPSS score is not available, but the lack of credential or privileged prerequisites suggests a high probability of exploitation in practice. The vulnerability is not listed in CISA’s KEV catalog, but exposure arises whenever an attacker can access token data through logs or other observable outputs. An attacker who can read CI build logs, container environment dumps, or monitoring dashboards can immediately decode an unseal token and retrieve the TOTP secret. The vulnerability does not require code execution or privileged access, making it relatively easy to exploit in environments where logging is not sanitized.

Generated by OpenCVE AI on May 12, 2026 at 15:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade sealed‑env to version 0.1.0-alpha.4 or newer to eliminate the embedded secret from unseal tokens
  • Ensure that logs, environment dumps, and monitoring dashboards do not expose token payloads; sanitize or remove unseal tokens from logs
  • After patching, rotate the TOTP secret and issue fresh unseal tokens to invalidate any previously exposed tokens

Generated by OpenCVE AI on May 12, 2026 at 15:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-x3r2-fj3r-g5mv sealed-env: TOTP secret embedded in unseal token payload (enterprise mode)
History

Wed, 13 May 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Davidalmeidac
Davidalmeidac sealed-env
Vendors & Products Davidalmeidac
Davidalmeidac sealed-env

Tue, 12 May 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 12 May 2026 14:00:00 +0000

Type Values Removed Values Added
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.
Title sealed-env: TOTP secret embedded in unseal token payload (enterprise mode)
Weaknesses CWE-200
CWE-522
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}


Subscriptions

Davidalmeidac Sealed-env
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-12T14:39:10.904Z

Reserved: 2026-05-08T19:27:26.698Z

Link: CVE-2026-45091

cve-icon Vulnrichment

Updated: 2026-05-12T14:39:04.937Z

cve-icon NVD

Status : Deferred

Published: 2026-05-12T14:17:08.820

Modified: 2026-05-13T18:27:58.823

Link: CVE-2026-45091

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-13T10:38:55Z

Weaknesses