CVE-2026-137030

enclave-os-mini: JWT exp claim was optional, giving accepted tokens no upper bound on lifetime

Published Nov 30, 2026 CVSS 3.1 · 4.2 Medium EPSS n/a KEV · Not listed
Description
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini version 0.25.0, enclave-os-mini-wasm version 0.53.0, enclave-vaults version 0.33.0, and enclave-cluster version 0.8.0, Enclave OS Mini treated the JWT exp claim as optional in both the JWKS verification path and verify_oidc_token. A genuinely signed token without exp therefore had no upper lifetime bound, and a failed get_current_time operation produced zero so every token appeared unexpired; nbf was also not enforced. The first path depends on an identity provider issuing tokens without exp, while the clock-error path affected any signed token. This issue is fixed in enclave-os-mini version 0.25.0, enclave-os-mini-wasm version 0.53.0, enclave-vaults version 0.33.0, and enclave-cluster version 0.8.0.

Analysis

AI-generated

Technical impact

Enclave OS Mini incorrectly treated the JWT expiration (exp) claim as optional, allowing a signed token that omitted this field to be accepted indefinitely. Additionally, a failure in the get_current_time function caused the system to interpret the expiration time as zero, making any token appear unexpired under a clock error scenario. These flaws mean that a malicious actor could craft a token that remains valid for an indefinite period, potentially granting continued access to protected resources and services.

Affected Systems

The issue affects the Privasys products enclave-cluster, enclave-os-mini, enclave-os-mini-wasm, and enclave-vaults. Versions prior to enclave-os-mini v0.25.0, enclave-os-mini-wasm v0.53.0, enclave-vaults v0.33.0, and enclave-cluster v0.8.0 are vulnerable. Newer releases contain fixes that enforce the exp claim and correct time handling.

Risk and Exploitability

The CVSS score of 4.2 reflects low to moderate severity; the EPSS score is not available and the vulnerability is not listed in CISA's KEV catalog, suggesting a lower likelihood of widespread exploitation. However, the attack vector is feasible for anyone who can produce a valid signed token—either by obtaining the signing key or by exploiting an identity provider that issues tokens without an exp claim. In both cases, the token would bypass lifetime checks, leading to potential unauthorized access across the affected Privasys services. The clock‑error path further broadens risk by treating tokens as valid when system time behaves unexpectedly. Overall, while exploitation is technically possible, it requires specific token‑generation capabilities or misconfigured time services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to enclave-os-mini v0.25.0, enclave-os-mini-wasm v0.53.0, enclave-vaults v0.33.0, or enclave-cluster v0.8.0, or newer releases that enforce the exp claim and correct time handling.
  • Replace the token validation logic so that the exp claim must be present and within a reasonable window (CWE-613). Reject any token lacking the exp field to prevent infinite‑lifetime abuse.
  • Verify or replace the get_current_time implementation so it never returns zero, and ensure system clocks are synchronised to avoid the clock error path (CWE-672).

Generated by OpenCVE AI on December 1, 2026 at 07:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini version 0.25.0, enclave-os-mini-wasm version 0.53.0, enclave-vaults version 0.33.0, and enclave-cluster version 0.8.0, Enclave OS Mini treated the JWT exp claim as optional in both the JWKS verification path and verify_oidc_token. A genuinely signed token without exp therefore had no upper lifetime bound, and a failed get_current_time operation produced zero so every token appeared unexpired; nbf was also not enforced. The first path depends on an identity provider issuing tokens without exp, while the clock-error path affected any signed token. This issue is fixed in enclave-os-mini version 0.25.0, enclave-os-mini-wasm version 0.53.0, enclave-vaults version 0.33.0, and enclave-cluster version 0.8.0.
Title enclave-os-mini: JWT exp claim was optional, giving accepted tokens no upper bound on lifetime
Weaknesses CWE-613
CWE-672
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-613

    Insufficient Session Expiration

  • CWE-672

    Operation on a Resource after Expiration or Release

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 30, 2026, 5:40 PM
Reserved
Nov 25, 2026, 5:13 PM
Status
Received
Published
Nov 30, 2026, 6:18 PM
Modified
Nov 30, 2026, 6:18 PM