Skip to main content

Enclave OS Mini EUVDEUVD-2026-139563

| CVE-2026-137021 HIGH
Reusing a Nonce, Key Pair in Encryption (CWE-323)
2026-11-30 security-advisories@github.com
8.2
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Hold Wrap authorization under target key
  2. Delivery
    Wrap via PKCS#11 shim pinning iv_b64 nonce
  3. Exploit
    Repeat nonce across multiple plaintexts
  4. Execution
    Observe ciphertexts, recover GHASH authentication key
  5. Impact
    Forge ciphertexts accepted by Unwrap

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Nonce/key pair uniqueness
Exploitation Conditions

Requires all of: (1) authorization to Wrap under the target Aes256GcmKey (PR:L - the vault evaluates key policy before handle_wrap runs, so the attacker is the key owner or a granted principal); (2) use of the 'privasys vault serve' PKCS#11 CKM_AES_GCM key-value shim, the only client path that forwarded the caller-supplied iv_b64 as the GCM nonce - the KMIP gateway passes no nonce and is not exploitable; (3) a directly-authored Wrap-only policy for the exposure to exceed intent, because no platform-minted policy grants Wrap without Unwrap and a holder of Unwrap could already decrypt; (4) an observer of two or more ciphertexts sharing the key and the repeated nonce to derive plaintext relations and recover the GHASH key. Affected: enclave-vaults 'vault' flavour before vault-v0.33.0 (mini v0.25.0). Limiting factors: the harm falls on consumers of the ciphertexts rather than the caller, and the base and wasm flavours are not affected.

Impact

Signals conflict on urgency and net to a genuine-but-narrow High. The CVSS vector (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N, 8.2) encodes the key caveats: AC:H because exploitation needs the specific client path that forwards the nonce plus an observer of the resulting ciphertexts, PR:L because the attacker must already hold Wrap authorization under the target key, and S:C/C:H/I:H because the harm (plaintext relationships and recovery of the GHASH authentication key enabling Unwrap-accepted forgeries) falls on other parties consuming the ciphertexts rather than on the caller. No EPSS score, KEV listing, or public exploit was supplied, and the vuln.today decision label is 'this_week' (not act_now/emergency), all consistent with a theoretical-to-practical crypto weakness rather than mass exploitation. Reachability sharply limits real risk: the advisory states no platform-minted policy grants Wrap without Unwrap, and any principal already holding Unwrap could decrypt directly, so nonce reuse gains nothing against their own data - the only populations that gain decrypt-and-forge beyond intent are directly-authored Wrap-only policies, and only the 'privasys vault serve' PKCS#11 (CKM_AES_GCM) shim ever forwarded the nonce (the KMIP gateway did not). Net: a real priority for operators who authored Wrap-only policies and use the PKCS#11 shim, but a low practical-risk issue for standard platform-minted deployments.

Exploit ScenarioDerived

An operator holds a directly-authored Wrap-only policy under an Aes256GcmKey and issues wraps through the 'privasys vault serve' PKCS#11 KV shim, which forwards their chosen iv_b64 as the AES-256-GCM nonce. By pinning one nonce across several plaintexts under the same key, a party observing the resulting ciphertexts learns the XOR of the plaintexts and recovers the GHASH authentication key, then forges ciphertexts the vault accepts as authentic on Unwrap. No public exploit code was identified at time of analysis; the mechanism is documented in the vendor advisory and fix commit, and attack complexity is high because it requires the nonce-forwarding path and observation of multiple ciphertexts.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Nonce reuse in Enclave OS Mini's vault Wrap operation lets a principal holding Wrap authorization pin the AES-256-GCM nonce across multiple wraps under the same Aes256GcmKey, because handle_wrap forwarded the caller-supplied iv_b64 into aes_gcm_seal prior to enclave-vaults vault-v0.33.0. Anyone who observes two ciphertexts sharing a key and nonce can recover plaintext relationships and the GHASH authentication key, enabling forged ciphertexts that Unwrap accepts - so the harm lands on consumers of the wrapped data rather than on the caller who caused it. Exploitation requires the PKCS#11 CKM_AES_GCM path in the 'privasys vault serve' KV shim, the only client that forwarded a nonce (the KMIP gateway passes none), and the exposure exceeds policy intent mainly for directly authored Wrap-only policies; no public exploit or CISA KEV entry is associated, and the trigger requires both a privileged Wrap caller and an observer of the resulting ciphertexts.

RemediationAI

Upgrade to enclave-vaults vault-v0.33.0 or later (mini v0.25.0), which contains commit 415e11b; the vendor states no configuration change is required, as aes_gcm_seal no longer accepts an iv and handle_wrap rejects any request carrying iv_b64. Where a nonce was used more than once, re-wrap that data under a new key, since data wrapped with a repeated nonce retains its exposure. Operators who author key policies directly against the vault API should audit for policies granting Wrap without Unwrap, which is the configuration where wrap-only access becomes decrypt-and-forge capability. For deployments that require deterministic wrapping, derive the nonce from the key and plaintext in SIV style rather than accepting a client-supplied value. Advisory and commit references: https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-6j47-3cm6-9cg6 and https://github.com/Privasys/enclave-os-mini/commit/415e11b59d4c99e2ef11bffca0f83d1e223f6fb8.

Affected VersionsENISA

enclave-vaults < 0.33.0

Affected Packages

euvd enclave_vaults fix: 0.33.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-323, reuse of a nonce with the same key, in a Rust runtime for confidential applications inside Intel SGX enclaves. AES-256-GCM is a stream-mode AEAD whose confidentiality rests on never repeating a nonce under one key: a repeat leaks the XOR of the plaintexts and allows recovery of the GHASH authentication key, after which ciphertexts can be forged. In the affected code, crypto::aes_gcm_seal accepted an Option<&[u8]> iv, and handle_wrap base64-decoded the request's iv_b64 and passed those twelve bytes through as the nonce instead of generating a random one; the type documentation explicitly allowed a caller-supplied 12-byte IV. Commit 415e11b removes the iv parameter entirely so the seal always draws the nonce from SystemRandom, and handle_wrap now rejects any request carrying iv_b64 with an explicit error rather than silently substituting a different nonce, while Unwrap continues to take the IV explicitly. Reachability is constrained: no platform-minted policy grants Wrap without Unwrap (an Aes256GcmKey owner receives both, an operator app's TEE principal gets both plus DeleteKey, and a wrapped-secret grants Unwrap alone), so the break materially exceeds intent only for a directly authored Wrap-only policy; and of the client surfaces, only the 'privasys vault serve' PKCS#11 key-value shim forwarded a nonce. The trigger further depends on a third party observing the repeated-nonce ciphertexts, which is why the assessed vector carries AC:H and PR:L.

Know when Intel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.2 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
vuln.today AI 8.2 HIGH

PR:L for required Wrap authorization; AC:H because exploitation needs the nonce-forwarding PKCS#11 path plus observation of repeated-nonce ciphertexts; S:C/C:H/I:H as harm hits ciphertext consumers via plaintext recovery and forgery; A:N.

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 30, 2026 - 18:34 EUVD
CVE Published
Nov 30, 2026 - 17:18 cve.org
HIGH 8.2

DescriptionCVE.org

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.

Technical POC Analysis

CWE-323 (Reusing a Nonce, Key Pair in Encryption), in the vault flavour of enclave-vaults (repo Privasys/enclave-os-mini).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A cryptographic flaw in Enclave OS Mini's vault Wrap operation (before version 0.33.0) allows privileged users to inadvertently reuse nonces, compromising the confidentiality and integrity of wrapped secrets. This exposes organizations relying on the vault for data protection to potential data breaches and forgery attacks, undermining trust in the security of sensitive information.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; restrict Wrap authorization to trusted principals, avoid nonce-supplying clients, and monitor for ciphertext reuse until upgrade to vault-v0.33.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Rare
niche Rust SGX confidential-computing vault runtime, minimal production footprint
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Intel

View all
CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2017-5689 CRITICAL POC
9.8 May 02

An unprivileged network attacker could gain system privileges to provisioned Intel manageability SKUs: Intel Active Mana

CVE-2012-5958 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-0217 HIGH POC
7.2 Jun 12

The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and

CVE-2012-5959 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5964 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5963 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5961 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2017-5753 MEDIUM POC
5.6 Jan 04

Systems with microprocessors utilizing speculative execution and branch prediction may allow unauthorized disclosure of

CVE-2012-5965 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5962 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5960 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy