CVE-2026-137021 — Privasys enclave-vaults
Summary
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 breakdown
High · 8.2
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- high on confidentiality and integrity, none on availability
Weakness
- CWE-323: Reusing a Nonce, Key Pair in Encryption
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Privasys enclave-vaults | < 0.33.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- Privasys enclave-vaults
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-137021?
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 handlewrap operation accepted the caller-supplied ivb64 value and passed it to aesgcmseal as the AES-256-GCM nonce. Weakness type: Reusing a Nonce, Key Pair in Encryption (CWE-323).
How severe is CVE-2026-137021?
CVE-2026-137021 has a CVSS 3.1 base score of 8.2 (high), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-137021 being exploited?
Not as far as is known: CVE-2026-137021 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026.
Which versions are affected by CVE-2026-137021?
Privasys enclave-vaults < 0.33.0.
How do I fix CVE-2026-137021?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.
Timeline & sources
References
Related vulnerabilities & news
- Privasys enclave-os-mini: unverified JWT signatures enable identity forgery (CVE-2026-137018)
- CVE-2026-137019 — Privasys enclave-os-mini-wasm
- Introducing Function-Level Reachability for Rust
- Ubuntu USN-9214-1 patches multiple GNU binutils flaws, mostly local denial-of-service bugs
- Apache Arrow Rust Parquet Bloom Filter Flaw Leaves Header Data Unencrypted in Encrypted Files