cve.bz

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

8.2 high

High (8.2) in privasys enclave-vaults.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
CWE
CWE-323 Reusing a Nonce, Key Pair in Encryption
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-137021 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-137021?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-137021?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-137021 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Privasys enclave-vaults< 0.33.0

References

Check your stackJSON