CVE-2026-137021

Source
https://cve.org/CVERecord?id=CVE-2026-137021
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137021.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-137021
Aliases
  • GHSA-6j47-3cm6-9cg6
Published
2026-11-30T17:12:15Z
Modified
2026-11-30T19:00:10Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
enclave-os-mini: vault wrap accepted a caller-supplied AES-GCM nonce, allowing nonce reuse
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-323"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137021.json"
}
References

Affected packages

Git / github.com/privasys/enclave-os-mini

Affected ranges

Type
GIT
Repo
https://github.com/privasys/enclave-os-mini
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.33.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "415e11b59d4c99e2ef11bffca0f83d1e223f6fb8"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.12.1
v0.14.0
v0.15.0
v0.16.0
v0.16.1
v0.17.0
v0.17.1
v0.17.2
v0.17.3
v0.17.4
v0.17.5
v0.18.0
v0.18.1
v0.18.2
v0.18.3
v0.19.0
v0.19.1
v0.20.0
v0.20.1
v0.20.2
v0.20.3
v0.21.0
v0.22.0
wasm-v0.*
wasm-v0.18.3
wasm-v0.20.0
wasm-v0.20.1
wasm-v0.21.0
wasm-v0.21.1
wasm-v0.22.0
wasm-v0.23.0
wasm-v0.24.0
wasm-v0.25.0
wasm-v0.26.0
wasm-v0.27.0
wasm-v0.28.0
wasm-v0.29.0
wasm-v0.30.0
wasm-v0.31.0
wasm-v0.32.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137021.json"