Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach FIDO2 register/begin endpoint
-
DeliverySubmit reserved user_handle '__manifest__'
-
ExploitOverwrite manifest with default-roles JSON
-
ExecutionComplete registration as apparent first user
-
ImpactObtain application admin role
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires an affected application that (1) exposes the FIDO2 self-registration path (register/begin) to the attacker, (2) uses enclave-os-mini app-auth roles, and (3) accepts the client-chosen user_handle rather than deriving it server-side - the wasm release flavour enables FIDO2 plus app-auth and is the affected combination. The concrete attack input is a user_handle equal to the reserved control name |
| Impact | All available signals point to a genuine high-priority issue rather than an inflated CVSS score, though with an important deployment caveat. The CVSS vector (AV:N/AC:L/PR:N/UI:N, 9.1) describes a network-reachable, low-complexity, unauthenticated path, and the GitHub advisory and fix commit corroborate the mechanism: a caller-chosen FIDO2 user_handle is interpolated into the role-store keyspace without validation, letting an attacker address the reserved |
| Exploit ScenarioDerived | An attacker reaches an affected application's FIDO2 register/begin endpoint and supplies the reserved value |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Enclave OS Mini's app-auth role store accepts a caller-chosen FIDO2 user_handle and interpolates it directly into the namespaced key roles:<handle>, so a handle of __manifest__ (or any __-prefixed reserved name) writes to the reserved control entry instead of a user entry. Writing a default-roles array over the manifest - commonly an empty JSON array, which parses back cleanly - empties the user manifest, after which get_user_roles_with_bootstrap treats the next registration as the first user ever and hands it the admin role, giving a path from unauthenticated self-registration to application admin. Affected are applications built from the wasm flavour (which forwards fido2 plus app-auth) before enclave-os-mini-wasm 0.53.0, and Enclave Cluster before 0.8.0; the base and vault flavours do not build this code, and apps that derive user_handle server-side from a verified sub are not affected. No public exploit identified at time of analysis, but the disclosure is rated act_now and the vendor classifies the outcome as critical because the sole precondition is that the app accepts the handle the client sends.
RemediationAI
Vendor-released patch: upgrade enclave-os-mini-wasm to 0.53.0 (wasm-v0.53.0) or Enclave Cluster to 0.8.0 (cluster-v0.8.0, on mini wasm-v0.57.2); the fix is commit 3de1a81 and the advisory is https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-m9p9-3hxp-4j6j. Because a prior compromise persists in stored state, upgrading alone does not undo it: for any application that accepted client-chosen handles, inspect its roles:__manifest__ and roles:__default__ entries and review the role assignments of every account created after the manifest could have been emptied - note that list_users now fails loudly on a poisoned manifest instead of returning misleading rows, so an upgrade may surface a manifest that must be repaired or rebuilt. As a structural mitigation, stop accepting the handle from the client and derive user_handle from a verified identity such as a trusted OIDC sub; this removes the attack precondition entirely but changes the identity-to-role mapping, so existing user role entries keyed on client-chosen handles will no longer resolve and must be migrated. Renaming the reserved control keys is not a safe workaround - the vendor deliberately avoided it because a vault-backed app's per-app KV survives an MRENCLAVE roll, and orphaned manifests would re-trigger the same bootstrap-to-admin condition.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Enclave OS Mini is a Rust runtime for confidential applications running inside Intel SGX enclaves, and the vulnerable code lives in the enclave-os-app-auth crate's role module (CWE-20, improper input validation of a security-relevant identifier). Roles are kept in a sealed key-value store under a per-application table (app:<name>); each user's roles are addressed by user_key, which formatted roles: followed by the raw user_handle. Two reserved control keys share that keyspace: roles:__manifest__ (the list of every user handle seen) and roles:__default__ (roles auto-assigned to new users). Because the handle arrived unvalidated from the FIDO2 register/begin flow, an attacker could address the control entries directly, and because both the manifest and a default-roles value are JSON string arrays, a write of the default array over the manifest parsed back as a legitimate manifest. The fix (commit 3de1a81) makes user_key fallible so every caller must handle refusal, and adds validate_user_handle, which rejects empty handles, handles longer than 256 bytes, any handle containing control characters, and any handle starting with the reserved __ prefix - the prefix rule is deliberate so a control key added later is covered by construction rather than by an exact-name list. The control keys were intentionally not renamed, since a vault-backed app's per-app KV survives an MRENCLAVE roll and renaming would orphan existing manifests and trigger the same bootstrap condition.
Know when Intel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Unauthenticated attacker self-registers over the network (AV:N/PR:N/UI:N); no attacker-side special conditions beyond a vulnerable config (AC:L); gaining admin yields high confidentiality and integrity impact within one app (S:U), no availability loss.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-20 Improper Input Validation.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical privilege escalation vulnerability in Enclave OS Mini's WebAssembly flavor (versions before 0.53.0) and Enclave Cluster (before 0.8.0) allows any unauthenticated user to self-register and gain application admin rights. This directly threatens the confidentiality, integrity, and availability of applications built on these versions, as attackers can bypass authentication and take full control. Leadership should prioritize immediate remediation because the flaw is easily exploitable once known and affects any externally accessible application from the affected builds.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to affected applications (VPN, IP allowlisting), implementing additional authentication layers (e.g., reverse proxy with SSO), enforcing server-side derivation of user_handle from verified subject claims where possible, and monitoring for unauthorized admin role changes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c
An unprivileged network attacker could gain system privileges to provisioned Intel manageability SKUs: Intel Active Mana
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable
Systems with microprocessors utilizing speculative execution and branch prediction may allow unauthorized disclosure of
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable
EUVD-2026-139561
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB