{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.55.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "6e57677cccd468962fd0f25eaf2b9af0a1da3e19"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "wasm-v0.55.0",
                "range": [
                  {
                    "fixed": "dea23acf97a0094f6a43abd26f8bf6efff81924a"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dea23acf97a0094f6a43abd26f8bf6efff81924a"
            },
            {
              "fixed": "6e57677cccd468962fd0f25eaf2b9af0a1da3e19"
            }
          ],
          "repo": "https://github.com/privasys/enclave-os-mini",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4755-rh6c-694j"
  ],
  "database_specific": {
    "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",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "0.8.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
          }
        ]
      }
    ]
  },
  "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.",
  "id": "CVE-2026-137022",
  "modified": "2026-11-30T18:45:19.264186292Z",
  "published": "2026-11-30T17:14:22.751Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "enclave-os-mini: the first FIDO2 user of a WASM app was granted the app admin role"
}