{"id":"CVE-2026-137022","summary":"enclave-os-mini: the first FIDO2 user of a WASM app was granted the app admin role","details":"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.","aliases":["GHSA-4755-rh6c-694j"],"modified":"2026-11-30T19:00:12.153043308Z","published":"2026-11-30T17:14:22.751Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"fixed":"0.8.0"}],"source":"AFFECTED_FIELD"}]}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-1188","CWE-269"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137022.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137022.json"},{"type":"FIX","url":"https://github.com/Privasys/enclave-os-mini/commit/6e57677cccd468962fd0f25eaf2b9af0a1da3e19"},{"type":"WEB","url":"https://github.com/Privasys/enclave-os-mini/releases/tag/wasm-v0.55.0"},{"type":"ADVISORY","url":"https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-4755-rh6c-694j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137022"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/privasys/enclave-os-mini","events":[{"introduced":"0"},{"fixed":"dea23acf97a0094f6a43abd26f8bf6efff81924a"},{"fixed":"6e57677cccd468962fd0f25eaf2b9af0a1da3e19"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.55.0"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"6e57677cccd468962fd0f25eaf2b9af0a1da3e19"}]},{"original_tag":"wasm-v0.55.0","range":[{"fixed":"dea23acf97a0094f6a43abd26f8bf6efff81924a"}],"source":"REFERENCES_TAG"}]}}],"versions":["wasm-v0.54.0","wasm-v0.53.0","v0.25.0","wasm-v0.52.0","v0.24.0","wasm-v0.51.0","v0.23.0","wasm-v0.50.0","wasm-v0.49.0","wasm-v0.48.0","wasm-v0.47.0","wasm-v0.46.0","wasm-v0.45.0","wasm-v0.44.0","wasm-v0.43.0","wasm-v0.42.2","wasm-v0.42.1","wasm-v0.42.0","wasm-v0.41.0","wasm-v0.40.0","wasm-v0.39.0","wasm-v0.38.0","wasm-v0.37.0","wasm-v0.36.0","wasm-v0.35.0","wasm-v0.34.0","wasm-v0.33.0","wasm-v0.32.0","v0.22.0","v0.21.0","v0.20.3","v0.20.2","v0.20.1","v0.20.0","wasm-v0.31.0","wasm-v0.30.0","wasm-v0.29.0","wasm-v0.28.0","wasm-v0.27.0","wasm-v0.26.0","wasm-v0.25.0","wasm-v0.24.0","wasm-v0.23.0","wasm-v0.22.0","wasm-v0.21.1","wasm-v0.20.1","wasm-v0.21.0","wasm-v0.20.0","wasm-v0.18.3","v0.19.1","v0.19.0","v0.18.3","v0.18.2","v0.18.1","v0.18.0","v0.17.5","v0.17.4","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.1","v0.16.0","v0.15.0","v0.14.0","v0.12.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137022.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}