Skip to main content
Menu
CVEs

enclave-os-mini-wasm privilege escalation to admin in WASM app FIDO2 sign-up

Affects enclave-os-mini-wasm apps with an empty FIDO2 role store that declare role-gated functions. Fixed in enclave-os-mini-wasm 0.55.0 and enclave-cluster 0.8.0.

CVE-2026-137022EUVD-2026-139564Published November 30, 2026, updated

7.4HighCNA
Exploited
No known exploitation
Fix
Fixed in enclave-os-mini-wasm 0.55.0 · enclave-cluster 0.8.0
Who is exposed
Default setups

Summary

Privasys enclave-os-mini-wasm and enclave-cluster can be reached remotely, without logging in. An unauthenticated attacker who registers through FIDO2 on an application with an empty role store is made the admin, which lets them call role-gated functions, read app_roles, and grant other roles, but not owner or configuration privileges. The flaw affects WASM applications that have FIDO2 enabled and use role-gated functions.

Written by a model

Original description

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 get_user_roles_with_bootstrap 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 app_roles, 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.

Who should check

Teams running WASM apps on Privasys enclave-os-mini-wasm with FIDO2 enabled and role-gated functions, and teams running enclave-cluster before 0.8.0.

“before wasm-v0.55.0”

github.com

What to do

  1. Check every install: default setups are affected.

  2. Upgrade to a fixed version: enclave-os-mini-wasm 0.55.0 · enclave-cluster 0.8.0.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-137022 (enclave-os-mini: the first FIDO2 user of a WASM app was granted the app admin role), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-137022 (entry last updated 2026-11-30):
Affected:
- Privasys enclave-os-mini-wasm: fixed in 0.55.0
- Privasys enclave-cluster: fixed in 0.8.0
Fixed versions: 0.55.0, 0.8.0.
Conditions (all must be true for the bug to be hit):
- A FIDO2 credential registered with the enclave; registration needs no prior identity. (source: https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j)
- A WASM app whose FIDO2 role store is empty. (source: https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j)
- The WASM app declares role-gated functions. (source: https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-137022 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-137022 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j
- https://github.com/Privasys/enclave-os-mini/commit/6e57677cccd468962fd0f25eaf2b9af0a1da3e19
- https://github.com/Privasys/enclave-os-mini/releases/tag/wasm-v0.55.0
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-137022
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-137022"}.

Affected versions

cve.now Index

29Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure22/25Default setups, reachable over the network without a login
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity7.4/10CVSS 7.4
  • No patch0/5No signal

What would change the score

  • Would score about 69 if added to CISA KEV
  • Would score about 64 if CISA's SSVC rates exploitation active

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 5

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · Privasys/enclave-os-mini · Advisory GHSA-4755-rh6c-694j
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-137022
RecordNVD · CVE-2026-137022
Other links 2
RepositoryGitHub · Privasys/enclave-os-mini · Commit 6e57677c
RepositoryGitHub · Privasys/enclave-os-mini · Release wasm-v0.55.0

Questions about CVE-2026-137022

Is CVE-2026-137022 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A FIDO2 credential can be registered with the enclave without a prior identity. If the WASM app's FIDO2 role store is empty, the first such user can be granted the app's admin role, pass role-gated functions and the role-management endpoint, and grant other application roles. Owner and config-api functions are not reached.

Source: github.com

Which versions are affected by CVE-2026-137022?

enclave-os-mini-wasm: before 0.55.0. enclave-cluster: before 0.8.0.

Source: cve.now feed data

Am I affected, and how do I check?

Affected are enclave-os-mini-wasm builds before 0.55.0 and enclave-cluster builds before 0.8.0, when the WASM app declares role-gated functions and its FIDO2 role store is empty. Check the enclave-os-mini-wasm and enclave-cluster versions in use against those fixed versions, and check whether the app declares role-gated functions.

Source: github.com

How do I fix CVE-2026-137022?

Upgrade enclave-os-mini-wasm to 0.55.0 or later and enclave-cluster to 0.8.0 or later. The advisory names no vendor patch ids.

Source: github.com

No corrections so far. Something wrong on this page? Report an error.