CVE-2026-137021

enclave-os-mini: vault wrap accepted a caller-supplied AES-GCM nonce, allowing nonce reuse

Published Nov 30, 2026 CVSS 3.1 · 8.2 High EPSS n/a KEV · Not listed
Description
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-vaults version 0.33.0, Enclave OS Mini's handle_wrap operation accepted the caller-supplied iv_b64 value and passed it to aes_gcm_seal as the AES-256-GCM nonce. A principal authorized for Wrap could reuse a nonce under the same key across multiple plaintexts when using a client path that forwarded the nonce, allowing an observer of the resulting ciphertexts to derive plaintext relationships and recover authentication material needed to forge ciphertexts accepted by Unwrap. The Privasys vault serve PKCS#11 key-value shim forwarded the nonce, while the KMIP gateway did not. The issue primarily violates the expectations of consumers of wrapped ciphertexts and is most significant for directly authored Wrap-only policies. This issue is fixed in enclave-vaults version 0.33.0.

Analysis

AI-generated

Technical impact

Enclave OS Mini’s handle_wrap operation accepted a caller-supplied iv_b64 and used it as the AES‑256‑GCM nonce. A principal authorized for Wrap could reuse the same nonce under the same key across multiple plaintexts via a client path that forwarded the nonce. An observer of the resulting ciphertexts could derive relationships among the plaintexts and obtain the authentication tag needed to forge ciphertexts that would be accepted by Unwrap. This flaw violates expectations for wrapped ciphertexts and can allow an attacker to tamper with or forge confidential data.

Affected Systems

Privasys enclave‑vaults, part of Enclave OS Mini, versions prior to 0.33.0 are vulnerable.

Risk and Exploitability

The CVSS score of 8.2 indicates a high severity flaw. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. Likely attack requires a principal with Wrap permissions, which may be local or remote depending on the deployment. If an authorized user gains control, the attacker can reuse a nonce to forge wrapped data and recover authentication material—posing a significant confidentiality and integrity risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch or upgrade to enclave‑vaults version 0.33.0 or later
  • Restrict Wrap permissions to trusted principals only, limiting potential misuse
  • Verify that client paths do not forward caller‑supplied nonces; use system‑generated random nonces in wrap operations

Generated by OpenCVE AI on December 1, 2026 at 06:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-vaults version 0.33.0, Enclave OS Mini's handle_wrap operation accepted the caller-supplied iv_b64 value and passed it to aes_gcm_seal as the AES-256-GCM nonce. A principal authorized for Wrap could reuse a nonce under the same key across multiple plaintexts when using a client path that forwarded the nonce, allowing an observer of the resulting ciphertexts to derive plaintext relationships and recover authentication material needed to forge ciphertexts accepted by Unwrap. The Privasys vault serve PKCS#11 key-value shim forwarded the nonce, while the KMIP gateway did not. The issue primarily violates the expectations of consumers of wrapped ciphertexts and is most significant for directly authored Wrap-only policies. This issue is fixed in enclave-vaults version 0.33.0.
Title enclave-os-mini: vault wrap accepted a caller-supplied AES-GCM nonce, allowing nonce reuse
Weaknesses CWE-323
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-323

    Reusing a Nonce, Key Pair in Encryption

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 30, 2026, 5:12 PM
Reserved
Nov 25, 2026, 5:13 PM
Status
Received
Published
Nov 30, 2026, 5:18 PM
Modified
Nov 30, 2026, 5:18 PM