CVE-2026-137022

enclave-os-mini: the first FIDO2 user of a WASM app was granted the app admin role

Published Nov 30, 2026 CVSS 3.1 · 7.4 High 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-wasm version 0.55.0 and enclave-cluster version 0.8.0, Enclave OS Mini's get_user_roles_with_bootstrap logic assigned the admin role to the first FIDO2 user seen while an application's role-store manifest was empty. Because FIDO2 registration required no prior identity and applications using OIDC could leave this separate manifest empty, an unauthenticated registrant could invoke role-gated functions, access app_roles, and grant additional application roles. The issue affects WASM applications with FIDO2 enabled and role-gated functions, but does not grant owner or configuration API privileges. This issue is fixed in enclave-os-mini-wasm version 0.55.0 and enclave-cluster version 0.8.0.

Analysis

AI-generated

Technical impact

Enclave OS Mini is a Rust‑based runtime for confidential applications inside Intel SGX enclaves. In releases prior to 0.55.0 for the WASM runtime and 0.8.0 for the cluster, the bootstrap procedure erroneously assigned the admin role to the first user that registers a FIDO2 credential while an application’s role‑store manifest is empty. Because FIDO2 registration does not require any pre‑existing identity, an unauthenticated attacker can create such a credential and receive administrative privileges over the application. With those privileges the attacker can invoke role‑gated functions, view application roles, and grant additional roles, although the flaw does not grant owner or configuration‑API rights.

Affected Systems

The flaw affects Privasys enclave‑cluster and enclave‑os‑mini‑wasm. All versions before 0.55.0 of the WASM runtime and before 0.8.0 of the cluster contain the issue. Upgrading to 0.55.0 or 0.8.0 respectively removes the vulnerability.

Risk and Exploitability

The CVSS score of 7.4 signals a high severity. EPSS is not available, so the exact likelihood of exploitation is uncertain, but the simple nature of registering an unauthenticated FIDO2 credential means the threat is technically feasible when an application exposes FIDO2 authentication and has an empty role manifest at bootstrap. Although the vulnerability is not listed in CISA’s KEV catalog, the risk of privilege escalation remains substantial for exposed WASM applications.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade enclave‑os‑mini‑wasm to version 0.55.0 or upgrade enclave‑cluster to version 0.8.0 to remove the role assignment flaw
  • Revoke any FIDO2 credentials that were registered before the upgrade and reset affected applications to ensure no residual admin users exist
  • Validate and populate the role‑store manifest prior to enabling FIDO2 authentication or role‑gated functions to prevent unintended admin assignment

Generated by OpenCVE AI on December 1, 2026 at 06:03 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-wasm version 0.55.0 and enclave-cluster version 0.8.0, Enclave OS Mini's get_user_roles_with_bootstrap logic assigned the admin role to the first FIDO2 user seen while an application's role-store manifest was empty. Because FIDO2 registration required no prior identity and applications using OIDC could leave this separate manifest empty, an unauthenticated registrant could invoke role-gated functions, access app_roles, and grant additional application roles. The issue affects WASM applications with FIDO2 enabled and role-gated functions, but does not grant owner or configuration API privileges. This issue is fixed in enclave-os-mini-wasm version 0.55.0 and enclave-cluster version 0.8.0.
Title enclave-os-mini: the first FIDO2 user of a WASM app was granted the app admin role
Weaknesses CWE-1188
CWE-269
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-269

    Improper Privilege Management

Sources

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