CVE-2026-137022: enclave-os-mini: the first FIDO2 user of a WASM app was granted the app admin role
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 getuserroleswithbootstrap 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 approles, 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
enclave-os-mini-wasmto a version that resolves this vulnerability.Fixed in 0.55.0 - Upgrade
Upgrade
enclave-clusterto a version that resolves this vulnerability.Fixed in 0.8.0
Event History
Frequently Asked Questions
Which deployments are affected?
The issue affects WASM applications that have FIDO2 enabled and expose role-gated functions. It is particularly relevant where an application uses OIDC and its separate role-store manifest can remain empty.
What does an attacker need to exploit this issue?
An attacker needs only to register as the first FIDO2 user while the application's role-store manifest is empty. No prior identity is required for that registration.
What access can the attacker obtain?
The first FIDO2 registrant can receive the application admin role, invoke role-gated functions, access app_roles, and grant additional application roles. The issue does not grant owner privileges or configuration API privileges.
How can I remediate this issue?
Upgrade enclave-os-mini-wasm to version 0.55.0 or later and enclave-cluster to version 0.8.0 or later.
How can I assess whether an application may already be exposed?
Check whether the application has FIDO2 enabled, role-gated functions, and an empty role-store manifest. Applications using OIDC should be reviewed because that separate manifest may remain empty.