CVE-2026-137019

enclave-os-mini: unvalidated FIDO2 user handle could overwrite reserved role keys and escalate to app admin

Published Nov 30, 2026 CVSS 3.1 · 9.1 Critical 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.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.

Analysis

AI-generated

Technical impact

Enclave OS Mini, a Rust-based runtime for confidential applications in Intel SGX enclaves, contained a flaw where a caller‑chosen FIDO2 ‘user_handle’ was interpolated directly into the application role‑store namespace without validation. An attacker could supply a handle that matches a reserved manifest control key, overwriting the manifest with a custom JSON array of default roles, clearing the user manifest, and causing the next registration to be treated as the first user. This manipulation grants the attacker administrative privileges within the affected application.

Affected Systems

The vulnerability affected Privasys enclave‑cluster products before version 0.8.0 and enclave‑os‑mini‑wasm products before version 0.53.0. Only applications combining FIDO2 self‑registration with app‑auth roles and accepting client‑chosen handles were susceptible.

Risk and Exploitability

The CVSS score of 9.1 reflects a high‑severity risk; the EPSS score is not available and the vulnerability is not listed in CISA KEV. The likely attack vector is via the FIDO2 registration endpoint where user handles are supplied, and the impact is confined to the role assignments of the affected application. Successful exploitation would elevate an unprivileged user to full application admin.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to enclave‑os‑mini‑wasm version 0.53.0 or enclave‑cluster version 0.8.0 or later, which removes the unchecked handle interpolation.
  • Implement server‑side validation to ensure that FIDO2 user handles do not match any reserved role or control keys before storing them in the role‑store namespace.
  • Audit the FIDO2 registration code to verify that all user‑supplied handles are sanitized and that role‑store keys are properly namespaced, preventing accidental overwrites.

Generated by OpenCVE AI on December 1, 2026 at 06:04 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.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.
Title enclave-os-mini: unvalidated FIDO2 user handle could overwrite reserved role keys and escalate to app admin
Weaknesses CWE-20
CWE-269
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-269

    Improper Privilege Management

Sources

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