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

Published Updated

A Wrap-only policy can reuse AES-GCM nonces in Enclave OS Mini, letting observers recover plaintext and forge ciphertexts; enclave developers should care.

CVSS score

High

8.2/10

CVSS 3.1 · Scored by GitHub Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-137021?

CVE-2026-137021 is a high-severity weak cryptography vulnerability in Privasys enclave-vaults, published on 30 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-323

How severe is CVE-2026-137021?

CVE-2026-137021 scores 8.2 out of 10 under CVSS 3.1, which is high severity. It was scored by GitHub.

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Which versions are affected by CVE-2026-137021?

An affected version is only exploitable if your software calls handle_wrap or aes_gcm_seal. Many projects that include it are not exposed.

How do I fix CVE-2026-137021?

No fix has been published for CVE-2026-137021 yet. Limit exposure of the affected software until one is available.

Upgrade, and use current algorithms from a well-maintained library. More about Weak cryptography.

Is CVE-2026-137021 being exploited?

There is no known exploitation of CVE-2026-137021 in the wild and no public exploit code.

Sources

Also known as GHSA-6j47-3cm6-9cg6.

Is CVE-2026-137021 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free