CVE-2026-137019 Privasys · enclave-os-mini-wasm
AI summary
Enclave OS Mini (enclave-os-mini-wasm) accepts an unvalidated caller-chosen user_handle during FIDO2 registration, letting a remote unauthenticated attacker overwrite the role manifest and gain the admin role in the affected application. Only applications combining FIDO2 self-registration with app-auth roles and client-chosen handles are affected. Critical (CVSS 9.1); fixed in enclave-os-mini-wasm 0.53.0 and enclave-cluster 0.8.0.
Official description
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 user_handle during FIDO2 registration and interpolated it through user_key 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 get_user_roles_with_bootstrap 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.
- Published
- 2026-11-30 17:18 UTC
- Modified
- 2026-11-30 17:18 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - ENISA EUVD
- EUVD-2026-139561
- CWE
- CWE-20
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/Privasys/enclave-os-mini/commit/3de1a81bd38762c6c2bc53582648141b8c1aad96 - github.com
https://github.com/Privasys/enclave-os-mini/releases/tag/wasm-v0.53.0 - github.com
https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-m9p9-3hxp-4j6j