dcap-qvl has Missing Verification for QE Identity
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Spoofing, Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-295 and CWE-347.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Phala-Network | dcap-qvl | before 0.3.9 | 0.3.9 | Patch available | CNA |
| — | dcap-qvl (crates.io) | before 0.3.9 | 0.3.9 | Patch available | GHSA-796p-j2gh-9m2q |
| — | @phala/dcap-qvl (npm) | before 0.3.9 | 0.3.9 | Patch available | GHSA-796p-j2gh-9m2q |
| — | @phala/dcap-qvl-web (npm) | up to 0.3.3 | — | No fix listed | GHSA-796p-j2gh-9m2q |
| — | @phala/dcap-qvl-node (npm) | up to 0.3.3 | — | No fix listed | GHSA-796p-j2gh-9m2q |
| — | dcap-qvl (PyPI) | before 0.3.9 | 0.3.9 | Patch available | GHSA-796p-j2gh-9m2q |
- dcap-qvl VendorPhala-Network Affected before 0.3.9 Fixed in 0.3.9 Patch available CNA
- dcap-qvl (crates.io) Vendor— Affected before 0.3.9 Fixed in 0.3.9 Patch available GHSA-796p-j2gh-9m2q
- @phala/dcap-qvl (npm) Vendor— Affected before 0.3.9 Fixed in 0.3.9 Patch available GHSA-796p-j2gh-9m2q
- @phala/dcap-qvl-web (npm) Vendor— Affected up to 0.3.3 Fixed in — No fix listed GHSA-796p-j2gh-9m2q
- @phala/dcap-qvl-node (npm) Vendor— Affected up to 0.3.3 Fixed in — No fix listed GHSA-796p-j2gh-9m2q
- dcap-qvl (PyPI) Vendor— Affected before 0.3.9 Fixed in 0.3.9 Patch available GHSA-796p-j2gh-9m2q
Remediation
- Fix · CNA dcap-qvl (Phala-Network) Fixed in 0.3.9
- Fix · GHSA-796p-j2gh-9m2q dcap-qvl (crates.io) Fixed in 0.3.9 Advisory →
- Fix · GHSA-796p-j2gh-9m2q @phala/dcap-qvl (npm) Fixed in 0.3.9 Advisory →
- Fix · GHSA-796p-j2gh-9m2q dcap-qvl (PyPI) Fixed in 0.3.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22696
- 2026-10-03 Alias added: GHSA-796p-j2gh-9m2q
References
Sources
- CVE-2026-22696 · CVE Program
- CVE-2026-22696 · NVD
- FIRST EPSS
- GHSA-796p-j2gh-9m2q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences