Vulnerabilities / CVE-2026-22696

critical

CVE-2026-22696

dcap-qvl has Missing Verification for QE Identity

Published Modified CWE 295, 347
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

GHSA9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Trivy's own label is CRITICAL. Rated critical by GHSA.

Description

dcap-qvl implements the quote verification logic for DCAP (Data Center Attestation Primitives). A vulnerability present in versions prior to 0.3.9 involves a critical gap in the cryptographic verification process within the dcap-qvl. The library fetches QE Identity collateral (including qe_identity, qe_identity_signature, and qe_identity_issuer_chain) from the PCCS. However, it skips to verify the QE Identity signature against its certificate chain and does not enforce policy constraints on the QE Report. An attacker can forge the QE Identity data to whitelist a malicious or non-Intel Quoting Enclave. This allows the attacker to forge the QE and sign untrusted quotes that the verifier will accept as valid. Effectively, this bypasses the entire remote attestation security model, as the verifier can no longer trust the entity responsible for signing the quotes. All deployments utilizing the dcap-qvl library for SGX or TDX quote verification are affected. The vulnerability has been patched in dcap-qvl version 0.3.9. The fix implements the missing cryptographic verification for the QE Identity signature and enforces the required checks for MRSIGNER, ISVPRODID, and ISVSVN against the QE Report. Users of the `@phala/dcap-qvl-node` and `@phala/dcap-qvl-web` packages should switch to the pure JavaScript implementation, `@phala/dcap-qvl`. There are no known workarounds for this vulnerability. Users must upgrade to the patched version to ensure that QE Identity collateral is properly verified.

Affected packages and fixed versions

SourcePackageFixed in
cargo::GitHub Security Advisory Rustdcap-qvl0.3.9
npm::GitHub Security Advisory npm@phala/dcap-qvl, @phala/dcap-qvl-node, @phala/dcap-qvl-web0.3.9
pip::GitHub Security Advisory pipdcap-qvl0.3.9
Show all 5 entries from 3 sources
SourcePackageFixed in
cargo::GitHub Security Advisory Rustdcap-qvl0.3.9
npm::GitHub Security Advisory npm@phala/dcap-qvl0.3.9
npm::GitHub Security Advisory npm@phala/dcap-qvl-nodeno fix listed
npm::GitHub Security Advisory npm@phala/dcap-qvl-webno fix listed
pip::GitHub Security Advisory pipdcap-qvl0.3.9

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.