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

Status: published. Published: 2026-11-30. Updated: 2026-12-01.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Privasys / enclave-vaults: < 0.33.0 (affected). Source: CNA: GitHub_M

## Severity and prioritization

- 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; source: CNA: GitHub_M

- 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; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.42% as of 2026-12-01; percentile 38.47%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-323

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-6j47-3cm6-9cg6 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/Privasys/enclave-os-mini/commit/415e11b59d4c99e2ef11bffca0f83d1e223f6fb8 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Privasys/enclave-os-mini/commit/415e11b59d4c99e2ef11bffca0f83d1e223f6fb8 (security-advisories@github.com)

- https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-6j47-3cm6-9cg6 (security-advisories@github.com)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-137021; retrieved 2026-12-01; source updated 2026-12-01

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-137021; retrieved 2026-11-30; source updated 2026-11-30

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-137021; retrieved 2026-12-01; source updated Not reported

Revision: 89749f671507752eca388defa9432d09f0bd6ba2bcbf0f3a6815b2ff7b925eb0

Canonical: https://y2.dev/cve/CVE-2026-137021

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.