{"id":"CVE-2026-22696","kind":"vulnerability","aliases":["CVE-2026-22696","GHSA-796p-j2gh-9m2q"],"related":[],"title":"dcap-qvl has Missing Verification for QE Identity","description":"## Impact\nThis vulnerability involves a critical gap in the cryptographic verification process within the dcap-qvl.\n\nThe 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.\n\n## Consequences\nAn 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.\n\n## Who is impacted\nAll deployments utilizing the dcap-qvl library for SGX or TDX quote verification are affected.\n\n## Patches\nThe 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.\n\nUsers of the `@phala/dcap-qvl-node` and `@phala/dcap-qvl-web` packages should switch to the pure JavaScript implementation, `@phala/dcap-qvl`.\n\n## Workarounds\nThere are no known workarounds for this vulnerability. Users must upgrade to the patched version to ensure that QE Identity collateral is properly verified.\n\n## Credit\nThis bug was reported by Rahul Saxena <saxenism@bluethroatlabs.com>.","summary":"The dcap-qvl library, used to verify SGX and TDX remote attestation quotes, does not verify the signature on QE Identity collateral fetched from the PCCS and does not enforce the QE Report policy checks. An attacker can supply forged QE Identity data to accept a malicious or non-Intel Quoting Enclave and get forged quotes that the verifier treats as valid.","severity":"critical","cvss":9.3,"epss":0.00205,"exploited":false,"exploited_at":null,"products":[{"name":"dcap-qvl","fixed":["0.3.9"],"affected":"< 0.3.9","ecosystem":"cargo"},{"name":"@phala/dcap-qvl","fixed":["0.3.9"],"affected":"<= 0.3.0","ecosystem":"npm"},{"name":"@phala/dcap-qvl-web","fixed":[],"affected":"<= 0.3.3","ecosystem":"npm"},{"name":"@phala/dcap-qvl-node","fixed":[],"affected":"<= 0.3.3","ecosystem":"npm"},{"name":"dcap-qvl","fixed":["0.3.9"],"affected":"< 0.3.9","ecosystem":"pypi"}],"ecosystems":["cargo","npm","pypi"],"tags":["confidential-computing","cwe-295","cwe-347","node","package","python","remote-attestation","rust","sgx","tdx","tee"],"not_affected_if":["no-dcap-verification","patched-version"],"how_to_check":"- Run `cargo tree -p dcap-qvl` or check Cargo.lock for `dcap-qvl` below `0.3.9`\n- Run `npm ls @phala/dcap-qvl @phala/dcap-qvl-node @phala/dcap-qvl-web` and check for versions `<= 0.3.0` or `<= 0.3.3` of the Node and web packages\n- Run `pip show dcap-qvl` and check for a version below `0.3.9`","fix":"- Upgrade the Rust crate `dcap-qvl` to `0.3.9`\n- Upgrade `@phala/dcap-qvl` to `0.3.9`\n- Replace `@phala/dcap-qvl-node` and `@phala/dcap-qvl-web` with the pure JavaScript package `@phala/dcap-qvl` at `0.3.9`; no fixed version is listed for the Node and web packages\n- Upgrade the Python package `dcap-qvl` to `0.3.9`","status":"open","published_at":"2026-01-26T18:55:13+00:00","first_seen_at":"2026-10-27T16:25:42+00:00","triaged_at":"2026-10-27T16:27:51+00:00","updated_at":"2026-10-27T16:33:07+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-27T16:27:51Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade the Rust crate `dcap-qvl` to `0.3.9`\n- Upgrade `@phala/dcap-qvl` to `0.3.9`\n- Replace `@phala/dcap-qvl-node` and `@phala/dcap-qvl-web` with the pure JavaScript package `@phala/dcap-qvl` at `0.3.9`; no fixed version is listed for the Node and web packages\n- Upgrade the Python package `dcap-qvl` to `0.3.9`","reach":"network","title":"dcap-qvl: missing QE Identity signature check lets forged enclaves pass attestation","impact":"high","summary":"The dcap-qvl library, used to verify SGX and TDX remote attestation quotes, does not verify the signature on QE Identity collateral fetched from the PCCS and does not enforce the QE Report policy checks. An attacker can supply forged QE Identity data to accept a malicious or non-Intel Quoting Enclave and get forged quotes that the verifier treats as valid.","category":"package","nicknames":[],"who_cares":["rust","node","python","tee","sgx","tdx","remote-attestation","confidential-computing"],"confidence":0.7,"needs_auth":"unknown","worst_case":"forged quotes are accepted as valid, bypassing attestation trust","analyst_note":"No workaround is given and the Node and web packages list no fixed version; confirm the fixed version for @phala/dcap-qvl-node and @phala/dcap-qvl-web at https://github.com/advisories/GHSA-796p-j2gh-9m2q.","how_to_check":"- Run `cargo tree -p dcap-qvl` or check Cargo.lock for `dcap-qvl` below `0.3.9`\n- Run `npm ls @phala/dcap-qvl @phala/dcap-qvl-node @phala/dcap-qvl-web` and check for versions `<= 0.3.0` or `<= 0.3.3` of the Node and web packages\n- Run `pip show dcap-qvl` and check for a version below `0.3.9`","needs_analyst":true,"not_affected_if":["no-dcap-verification","patched-version"],"who_is_affected":"Any deployment that uses dcap-qvl to verify SGX or TDX quotes is affected, because the flaw is in the verifier itself rather than in configuration. Systems that only consume attestation results from a separate, already-patched verifier and never run this library are not directly exposed. Teams should look at attestation verifiers, confidential-computing services and blockchain or TEE backends that embed these packages.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000857,"input_tokens":3944,"output_tokens":926,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2026':11A,19A '-22696':12A,20A '-295':34B '-347':36B '0.3.9':262C '796p':15A '9m2q':17A 'accept':92B,206C 'affect':250C 'allow':191C 'attack':84B,173C,193C 'attest':42B,59B,215C 'bug':331C 'bypass':211C 'certif':159C 'chain':144C,160C 'check':82B,279C 'collater':69B,133C,325C 'comput':32B 'confidenti':31B 'confidential-comput':30B 'consequ':171C 'constraint':166C 'credit':329C 'critic':116C 'cryptograph':120C,268C 'cve':10A,18A 'cwe':33B,35B 'data':90B,179C 'dcap':2A,22A,28A,49B,126C,240C,259C 'dcap-qvl':1A,21A,27A,48B,125C,239C,258C 'deploy':236C 'effect':209C 'enclav':100B,189C 'enforc':77B,164C,276C 'ensur':321C 'entir':213C 'entiti':226C 'fetch':70B,130C 'fix':264C 'forg':87B,103B,175C,195C 'gap':117C 'get':102B 'ghsa':14A 'ghsa-796p-j2gh-9m2q':13A 'howev':148C 'ident':9A,68B,89B,132C,136C,138C,142C,155C,178C,273C,324C 'impact':111C,234C 'implement':265C,302C 'includ':134C 'intel':98B,187C 'involv':114C 'issuer':143C 'isvprodid':282C 'isvsvn':284C 'j2gh':16A 'javascript':301C 'known':308C 'librari':51B,129C,242C 'longer':223C 'malici':94B,183C 'miss':5A,267C 'model':217C 'mrsigner':281C 'must':314C 'node':37B 'non':97B,186C 'non-intel':96B,185C 'packag':38B,295C 'patch':251C,256C,318C 'pccs':73B,147C 'phala/dcap-qvl':24A,303C 'phala/dcap-qvl-node':26A,292C 'phala/dcap-qvl-web':25A,294C 'polici':81B,165C 'process':122C 'proper':327C 'pure':300C 'python':39B 'qe':8A,67B,79B,88B,131C,135C,137C,141C,154C,169C,177C,197C,272C,287C,323C 'quot':60B,99B,104B,188C,201C,231C,247C 'qvl':3A,23A,29A,50B,127C,241C,260C 'rahul':335C 'remot':41B,58B,214C 'remote-attest':40B 'report':80B,170C,288C,333C 'requir':278C 'respons':227C 'rust':43B 'saxena':336C 'saxenism@bluethroatlabs.com':337C 'secur':216C 'sgx':44B,55B,244C 'sign':199C,229C 'signatur':65B,139C,156C,274C 'skip':150C 'suppli':86B 'switch':297C 'tdx':45B,57B,246C 'tee':46B 'treat':108B 'trust':224C 'untrust':200C 'upgrad':315C 'use':52B 'user':289C,313C 'util':237C 'valid':110B,208C 'verif':6A,121C,248C,269C 'verifi':54B,63B,107B,152C,204C,220C,328C 'version':261C,319C 'vulner':113C,253C,312C 'whitelist':181C 'within':123C 'workaround':304C,309C","nicknames":[],"mitigations":[],"who_affected":"Any deployment that uses dcap-qvl to verify SGX or TDX quotes is affected, because the flaw is in the verifier itself rather than in configuration. Systems that only consume attestation results from a separate, already-patched verifier and never run this library are not directly exposed. Teams should look at attestation verifiers, confidential-computing services and blockchain or TEE backends that embed these packages.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-01-26T18:55:13+00:00","kev":null,"cvss_vector":"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","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-796p-j2gh-9m2q","url":"https://github.com/advisories/GHSA-796p-j2gh-9m2q","severity":"critical","published_at":"2026-01-26T18:55:13+00:00","modified_at":"2026-10-27T16:24:11+00:00","first_seen_at":"2026-10-27T16:25:42+00:00","fetched_at":"2026-10-27T16:30:45+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-22696","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22696","severity":null,"published_at":"2026-01-26T22:15:55+00:00","modified_at":"2026-06-17T10:20:15+00:00","first_seen_at":"2026-10-27T16:33:07+00:00","fetched_at":"2026-10-27T16:33:07+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}