# CVE-2026-22696: dcap-qvl has Missing Verification for QE Identity

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-347, CWE-295
- **Aliases:** GHSA-796p-j2gh-9m2q, PYSEC-2026-326
- **Published:** 2026-01-26T18:55:13.000Z
- **Modified:** 2026-10-27T16:30:07.261Z

## Who should check

- Projects that depend on PyPI package dcap-qvl (\< 0.3.9)
- Projects that depend on crates.io package dcap-qvl (\< 0.3.9)
- Projects that depend on npm package @phala/dcap-qvl (\< 0.3.9)
- Projects that depend on npm package @phala/dcap-qvl-web (\<= 0.3.3)
- Projects that depend on npm package @phala/dcap-qvl-node (\<= 0.3.3)
- Anyone running Phala-Network dcap-qvl \< 0.3.9

## 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 and fixed versions

- PyPI `dcap-qvl`: affected \< 0.3.9; fixed 0.3.9 (osv)
- crates.io `dcap-qvl`: affected \< 0.3.9; fixed 0.3.9 (osv)
- npm `@phala/dcap-qvl`: affected \< 0.3.9; fixed 0.3.9 (osv)
- npm `@phala/dcap-qvl-web`: affected \<= 0.3.3; fixed no fix listed yet (osv)
- npm `@phala/dcap-qvl-node`: affected \<= 0.3.3; fixed no fix listed yet (osv)
- Phala-Network dcap-qvl: \< 0.3.9 (cvelist)

## Mitigation

- Upgrade dcap-qvl to 0.3.9 or later.
- Upgrade @phala/dcap-qvl to 0.3.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-22696. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-22696.md
Affected: dcap-qvl < 0.3.9; dcap-qvl < 0.3.9; @phala/dcap-qvl < 0.3.9; @phala/dcap-qvl-web <= 0.3.3; @phala/dcap-qvl-node <= 0.3.3
Fixed in: 0.3.9

Steps:
1. Search this machine and project for dcap-qvl (PyPI), dcap-qvl (crates.io), @phala/dcap-qvl (npm), @phala/dcap-qvl-web (npm), @phala/dcap-qvl-node (npm), Phala-Network dcap-qvl: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-22696 being exploited?

There is no confirmed exploitation: CVE-2026-22696 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-22696?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-22696?

dcap-qvl \< 0.3.9; dcap-qvl \< 0.3.9; @phala/dcap-qvl \< 0.3.9; @phala/dcap-qvl-web \<= 0.3.3; @phala/dcap-qvl-node \<= 0.3.3.

### Is there a fix for CVE-2026-22696?

Yes. Fixed in 0.3.9. Upgrade dcap-qvl to 0.3.9 or later. Upgrade @phala/dcap-qvl to 0.3.9 or later.

### How do I check if I'm affected by CVE-2026-22696?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Phala-Network/dcap-qvl/security/advisories/GHSA-796p-j2gh-9m2q>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-22696>
- vendor: <https://github.com/advisories/GHSA-796p-j2gh-9m2q>
- other: <https://github.com/Phala-Network/dcap-qvl>
- other: <https://pypi.org/project/dcap-qvl>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/dcap-qvl/PYSEC-2026-326.yaml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-22696>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-326> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-796p-j2gh-9m2q> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-22696> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-22696>
