CVE-2026-137019: enclave-os-mini: unvalidated FIDO2 user handle could overwrite reserved role keys and escalate to app admin
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0, Enclave OS Mini accepted a caller-chosen userhandle during FIDO2 registration and interpolated it through userkey into the application role-store namespace without validation. A handle naming the reserved manifest control key could overwrite the manifest with a valid JSON default-roles array, empty the user manifest, and cause getuserroleswithbootstrap to treat a later registration as the first user and grant the admin role. The issue affects applications that combine FIDO2 self-registration with app-auth roles and accept client-chosen handles, and its scope is limited to the affected application's role assignments. This issue is fixed in enclave-os-mini-wasm version 0.53.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.53.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 this issue?
The issue affects applications that use FIDO2 self-registration together with application-auth role management and allow clients to choose the user handle. Its impact is limited to role assignments within the affected application.
What does an attacker need to exploit it?
An unauthenticated attacker needs to register a FIDO2 credential using a caller-chosen user handle that names a reserved manifest control key. They can overwrite role-store manifest data and then use a later registration to obtain the application admin role.
Are fixed versions available?
Yes. Upgrade enclave-os-mini-wasm to version 0.53.0 or later and enclave-cluster to version 0.8.0 or later.
What can be done if upgrades cannot be applied immediately?
Prevent client-controlled user handles during FIDO2 registration, or disable the affected self-registration flow. Review role-store manifest data and application role assignments for unexpected changes or unauthorized admin registrations.