CVE-2026-22696
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · unediteddcap-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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe dcap-qvl library used for DCAP quote verification in SGX/TDX remote attestation has a critical flaw where it fetches QE Identity collateral from the PCCS but skips cryptographic verification of the QE Identity signature against its certificate chain and fails to enforce policy constraints (MRSIGNER, ISVPRODID, ISVSVN) on the QE Report. This allows attackers to forge QE Identity data and whitelist a malicious Quoting Enclave, enabling them to sign untrusted quotes that verifiers accept as valid, completely bypassing the remote attestation security model.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify dcap-qvl package installationRun 'npm list dcap-qvl' or check package.json for 'dcap-qvl', '@phala/dcap-qvl-node', '@phala/dcap-qvl-web', or '@phala/dcap-qvl' dependenciesAffected if Any of these packages are present in node_modules or package.json
-
Determine installed dcap-qvl versionRun 'npm list dcap-qvl' or check package-lock.json for the installed version numberAffected if Version is present and is below 0.3.9, or version cannot be determined (older installation)
-
Check for vulnerable package usageSearch source code for imports from '@phala/dcap-qvl-node' or '@phala/dcap-qvl-web'Affected if Code imports either @phala/dcap-qvl-node or @phala/dcap-qvl-web package
-
Verify QE Identity verification is implementedReview application code or dcap-qvl library configuration to confirm that QE Identity signature verification against certificate chain is performed before quote acceptanceAffected if No explicit QE Identity signature verification is found in the attestation flow
-
Confirm policy constraint enforcement on QE ReportReview code that uses the quote verification function to ensure MRSIGNER, ISVPRODID, and ISVSVN values from the QE Report are validated against expected trusted valuesAffected if Policy constraints on QE Report are not explicitly validated in the verification logic
If dcap-qvl version is below 0.3.9, or if using @phala/dcap-qvl-node/@phala/dcap-qvl-web, or if QE Identity signature verification and policy enforcement are not implemented in the attestation flow, the environment is affected by this CVE.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade dcap-qvl to version 0.3.9 or later to implement the missing QE Identity signature verification and policy enforcement. Applications using @phala/dcap-qvl-node or @phala/dcap-qvl-web should migrate to the pure JavaScript @phala/dcap-qvl package.
@phala/dcap-qvl version 0.3.9 or later (or @phala/dcap-qvl-node/@phala/dcap-qvl-web users should migrate to @phala/dcap-qvl)
- Identify which dcap-qvl package variant is currently in use (@phala/dcap-qvl-node, @phala/dcap-qvl-web, or @phala/dcap-qvl)
- Check the current installed version of the dcap-qvl library in your project
- If using @phala/dcap-qvl-node or @phala/dcap-qvl-web, migrate to the pure JavaScript implementation @phala/dcap-qvl
- Upgrade the package to version 0.3.9 or later using your package manager (e.g., npm install @phala/dcap-qvl@latest or npm install @phala/dcap-qvl@^0.3.9)
- Verify the upgrade was successful by checking the installed version
- Test your attestation workflow to ensure the library functions correctly with the patched version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,752.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-22696 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-22696 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data