CVE-2026-137030: enclave-os-mini: JWT exp claim was optional, giving accepted tokens no upper bound on lifetime
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 verifyoidctoken. A genuinely signed token without exp therefore had no upper lifetime bound, and a failed getcurrenttime 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
enclave-os-minito a version that resolves this vulnerability.Fixed in 0.25.0 - Upgrade
Upgrade
enclave-os-mini-wasmto a version that resolves this vulnerability.Fixed in 0.53.0 - Upgrade
Upgrade
enclave-vaultsto a version that resolves this vulnerability.Fixed in 0.33.0 - Upgrade
Upgrade
enclave-clusterto a version that resolves this vulnerability.Fixed in 0.8.0
Event History
Frequently Asked Questions
Which deployments are exposed to tokens that never expire?
Deployments using the JWKS verification path are exposed when their identity provider issues genuinely signed JWTs without an exp claim. The verify_oidc_token path also treated exp as optional before the fixed versions.
Can an attacker exploit this with a normal signed token that has an expiration time?
Yes, if get_current_time fails. That failure returned zero, causing signed tokens to appear unexpired regardless of their actual expiration; nbf was also not enforced.
What does an attacker need to exploit the issue?
The attacker needs a genuinely signed token accepted by the affected verification flow. For the missing-expiration case, the token must lack exp and have been issued by an identity provider that permits such tokens; the clock-error condition affected any signed token.
What versions remediate the issue?
Upgrade to enclave-os-mini 0.25.0, enclave-os-mini-wasm 0.53.0, enclave-vaults 0.33.0, or enclave-cluster 0.8.0, as applicable.